Interface RabbitMQAckHandler
- All Known Implementing Classes:
RabbitMQAck
,RabbitMQAutoAck
public interface RabbitMQAckHandler
Implemented to provide message acknowledgement strategies.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescription<V> CompletionStage<Void>
handle
(IncomingRabbitMQMessage<V> message, io.vertx.mutiny.core.Context context) Handle the request to acknowledge a message.
-
Method Details
-
handle
<V> CompletionStage<Void> handle(IncomingRabbitMQMessage<V> message, io.vertx.mutiny.core.Context context) Handle the request to acknowledge a message.- Type Parameters:
V
- message body type- Parameters:
message
- the message to acknowledgecontext
- theContext
in which the acknowledgement should take place- Returns:
- a
CompletionStage
-