public class RabbitMQAutoAck extends Object implements RabbitMQAckHandler
RabbitMQAckHandler used when auto-ack is on.RabbitMQAckHandler.Strategy| Constructor and Description |
|---|
RabbitMQAutoAck(String channel)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
<V> CompletionStage<Void> |
handle(IncomingRabbitMQMessage<V> msg,
io.vertx.mutiny.core.Context context)
Handle the request to acknowledge a message.
|
public RabbitMQAutoAck(String channel)
channel - the channel on which acks are issuedpublic <V> CompletionStage<Void> handle(IncomingRabbitMQMessage<V> msg, io.vertx.mutiny.core.Context context)
RabbitMQAckHandlerhandle in interface RabbitMQAckHandlerV - message body typemsg - the message to acknowledgecontext - the Context in which the acknowledgement should take placeCompletionStageCopyright © 2018–2021 SmallRye. All rights reserved.