public class AmqpModifiedFailedAndUndeliverableHere extends Object implements AmqpFailureHandler
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.
AmqpFailureHandler.Strategy
Constructor and Description |
---|
AmqpModifiedFailedAndUndeliverableHere(String channel) |
Modifier and Type | Method and Description |
---|---|
<V> CompletionStage<Void> |
handle(AmqpMessage<V> msg,
io.vertx.mutiny.core.Context context,
Throwable reason) |
public AmqpModifiedFailedAndUndeliverableHere(String channel)
public <V> CompletionStage<Void> handle(AmqpMessage<V> msg, io.vertx.mutiny.core.Context context, Throwable reason)
handle
in interface AmqpFailureHandler
Copyright © 2018–2021 SmallRye. All rights reserved.