Interface PubSubMessageReceiverExceptionHandler
- All Superinterfaces:
io.micronaut.core.exceptions.ExceptionHandler<PubSubMessageReceiverException>
- All Known Implementing Classes:
DefaultPubSubMessageReceiverExceptionHandler
public interface PubSubMessageReceiverExceptionHandler
extends io.micronaut.core.exceptions.ExceptionHandler<PubSubMessageReceiverException>
Marker interface that
PubSubListener
beans can implement
to handle exceptions.
Implementations of this interface are responsible for deciding whether to ack/nack the message and should do so
via the supplied AckReplyConsumer
that can be retrieved via the exception's
PubSubConsumerState
.- Since:
- 2.0.0
- Author:
- Vinicius Carvalho
-
Method Summary
Methods inherited from interface io.micronaut.core.exceptions.ExceptionHandler
handle