Interface RabbitMQFailureHandler
-
- All Known Implementing Classes:
RabbitMQAccept
,RabbitMQFailStop
,RabbitMQReject
public interface RabbitMQFailureHandler
Implemented to provide message failure strategies.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
RabbitMQFailureHandler.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, Throwable reason)
Handle message failure.
-
-
-
Method Detail
-
handle
<V> CompletionStage<Void> handle(IncomingRabbitMQMessage<V> message, io.vertx.mutiny.core.Context context, Throwable reason)
Handle message failure.- Type Parameters:
V
- message body type- Parameters:
message
- the failed messagecontext
- theContext
in which the handling should be donereason
- the reason for the failure- Returns:
- a
CompletionStage
-
-