Class AmqpModifiedFailedAndUndeliverableHere
java.lang.Object
io.smallrye.reactive.messaging.amqp.fault.AmqpModifiedFailedAndUndeliverableHere
- All Implemented Interfaces:
AmqpFailureHandler
This nack strategy marking the message as
modified
and set the delivery-failed
attribute to true
,
as well as the undeliverable-here
flag to true
.
The message will not be redelivered on the same node, but may be redelivered on another node.
See http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-messaging-v1.0-os.html#type-modified.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.smallrye.reactive.messaging.amqp.fault.AmqpFailureHandler
AmqpFailureHandler.Strategy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<V> CompletionStage<Void>
handle
(AmqpMessage<V> msg, io.vertx.mutiny.core.Context context, Throwable reason)
-
Constructor Details
-
AmqpModifiedFailedAndUndeliverableHere
-
-
Method Details
-
handle
public <V> CompletionStage<Void> handle(AmqpMessage<V> msg, io.vertx.mutiny.core.Context context, Throwable reason) - Specified by:
handle
in interfaceAmqpFailureHandler
-