Class AmqpModifiedFailed
- java.lang.Object
-
- io.smallrye.reactive.messaging.amqp.fault.AmqpModifiedFailed
-
- All Implemented Interfaces:
AmqpFailureHandler
public class AmqpModifiedFailed extends Object implements AmqpFailureHandler
This nack strategy marking the message asmodified
and set thedelivery-failed
attribute totrue
.The message might be redelivered on the same 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 AmqpModifiedFailed(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
-
AmqpModifiedFailed
public AmqpModifiedFailed(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
-
-