Package io.micronaut.rabbitmq.exception
Class DefaultRabbitListenerExceptionHandler
java.lang.Object
io.micronaut.rabbitmq.exception.DefaultRabbitListenerExceptionHandler
- All Implemented Interfaces:
io.micronaut.core.exceptions.ExceptionHandler<RabbitListenerException>
,RabbitListenerExceptionHandler
@Singleton
@Primary
public class DefaultRabbitListenerExceptionHandler
extends Object
implements RabbitListenerExceptionHandler
The default ExceptionHandler used when a
RabbitListener
fails to process a RabbitMQ message. By default just logs the error.- Since:
- 1.1.0
- Author:
- James Kleeh
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DefaultRabbitListenerExceptionHandler
public DefaultRabbitListenerExceptionHandler()
-
-
Method Details
-
handle
- Specified by:
handle
in interfaceio.micronaut.core.exceptions.ExceptionHandler<RabbitListenerException>
-