Interface RabbitMQAckHandler
-
- All Known Implementing Classes:
RabbitMQAck
,RabbitMQAutoAck
public interface RabbitMQAckHandler
Implemented to provide message acknowledgement strategies.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
RabbitMQAckHandler.Strategy
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <V> CompletionStage<Void>
handle(IncomingRabbitMQMessage<V> message, io.vertx.mutiny.core.Context context)
Handle the request to acknowledge a message.
-
-
-
Method Detail
-
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
-
-