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 java.lang.Object implements RabbitListenerExceptionHandler
The default ExceptionHandler used when aRabbitListenerfails to process a RabbitMQ message. By default just logs the error.- Since:
- 1.1.0
-
-
Constructor Summary
Constructors Constructor Description DefaultRabbitListenerExceptionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandle(RabbitListenerException exception)
-
-
-
Method Detail
-
handle
public void handle(RabbitListenerException exception)
- Specified by:
handlein interfaceio.micronaut.core.exceptions.ExceptionHandler<RabbitListenerException>
-
-