Package io.atleon.rabbitmq
Interface NacknowledgerFactory<T>
-
- Type Parameters:
T- The deserialized type of received Message bodies
- All Superinterfaces:
io.atleon.util.Configurable
- All Known Implementing Classes:
NacknowledgerFactory.Emit,NacknowledgerFactory.Nack
public interface NacknowledgerFactory<T> extends io.atleon.util.ConfigurableAn interface for creating a "nacknowledger" (Consumerof Throwable) that is executed if/when processing of the associatedRabbitMQMessageis exceptionally terminated.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classNacknowledgerFactory.Emit<T>static classNacknowledgerFactory.Nack<T>
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidconfigure(Map<String,?> properties)Consumer<Throwable>create(ReceivedRabbitMQMessage<T> message, Nackable nackable, Consumer<Throwable> errorEmitter)
-