public interface RabbitMQFailureHandler
Modifier and Type | Interface and Description |
---|---|
static class |
RabbitMQFailureHandler.Strategy |
Modifier and Type | Method and Description |
---|---|
<V> CompletionStage<Void> |
handle(IncomingRabbitMQMessage<V> message,
io.vertx.mutiny.core.Context context,
Throwable reason)
Handle message failure.
|
<V> CompletionStage<Void> handle(IncomingRabbitMQMessage<V> message, io.vertx.mutiny.core.Context context, Throwable reason)
V
- message body typemessage
- the failed messagecontext
- the Context
in which the handling should be donereason
- the reason for the failureCompletionStage
Copyright © 2018–2021 SmallRye. All rights reserved.