Class AmqpModifiedFailedAndUndeliverableHere
- java.lang.Object
-
- io.smallrye.reactive.messaging.amqp.fault.AmqpModifiedFailedAndUndeliverableHere
-
- All Implemented Interfaces:
AmqpFailureHandler
public class AmqpModifiedFailedAndUndeliverableHere extends Object implements AmqpFailureHandler
This nack strategy marking the message asmodified
and set thedelivery-failed
attribute totrue
, as well as theundeliverable-here
flag totrue
.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
Constructors Constructor Description AmqpModifiedFailedAndUndeliverableHere(String channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V> CompletionStage<Void>
handle(AmqpMessage<V> msg, io.vertx.mutiny.core.Context context, Throwable reason)
-
-
-
Constructor Detail
-
AmqpModifiedFailedAndUndeliverableHere
public AmqpModifiedFailedAndUndeliverableHere(String channel)
-
-
Method Detail
-
handle
public <V> CompletionStage<Void> handle(AmqpMessage<V> msg, io.vertx.mutiny.core.Context context, Throwable reason)
- Specified by:
handle
in interfaceAmqpFailureHandler
-
-