Class DefaultNatsListenerExceptionHandler

java.lang.Object
io.micronaut.nats.exception.DefaultNatsListenerExceptionHandler
All Implemented Interfaces:
io.micronaut.core.exceptions.ExceptionHandler<NatsListenerException>, NatsListenerExceptionHandler

@Singleton @Primary public class DefaultNatsListenerExceptionHandler extends Object implements NatsListenerExceptionHandler
The default ExceptionHandler used when a NatsListener fails to process Nats message. By defaul just logs the error
Since:
1.0.0
Author:
jgrimm
  • Constructor Details

    • DefaultNatsListenerExceptionHandler

      public DefaultNatsListenerExceptionHandler()
  • Method Details