Class RabbitMQAutoAck
java.lang.Object
io.smallrye.reactive.messaging.rabbitmq.ack.RabbitMQAutoAck
- All Implemented Interfaces:
RabbitMQAckHandler
A
RabbitMQAckHandler used when auto-ack is on.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.smallrye.reactive.messaging.rabbitmq.ack.RabbitMQAckHandler
RabbitMQAckHandler.Strategy -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<V> CompletionStage<Void>handle(IncomingRabbitMQMessage<V> msg, io.vertx.mutiny.core.Context context) Handle the request to acknowledge a message.
-
Constructor Details
-
RabbitMQAutoAck
Constructor.- Parameters:
channel- the channel on which acks are issued
-
-
Method Details
-
handle
public <V> CompletionStage<Void> handle(IncomingRabbitMQMessage<V> msg, io.vertx.mutiny.core.Context context) Description copied from interface:RabbitMQAckHandlerHandle the request to acknowledge a message.- Specified by:
handlein interfaceRabbitMQAckHandler- Type Parameters:
V- message body type- Parameters:
msg- the message to acknowledgecontext- theContextin which the acknowledgement should take place- Returns:
- a
CompletionStage
-