Class LoggingExceptionHandler

  • All Implemented Interfaces:
    de.quantummaid.eventmaid.messagebus.exception.MessageBusExceptionHandler

    public final class LoggingExceptionHandler
    extends Object
    implements de.quantummaid.eventmaid.messagebus.exception.MessageBusExceptionHandler
    • Constructor Detail

      • LoggingExceptionHandler

        public LoggingExceptionHandler()
    • Method Detail

      • shouldDeliveryChannelErrorBeHandledAndDeliveryAborted

        public boolean shouldDeliveryChannelErrorBeHandledAndDeliveryAborted​(de.quantummaid.eventmaid.processingcontext.ProcessingContext<Object> message,
                                                                             Exception e,
                                                                             de.quantummaid.eventmaid.channel.Channel<Object> channel)
        Specified by:
        shouldDeliveryChannelErrorBeHandledAndDeliveryAborted in interface de.quantummaid.eventmaid.messagebus.exception.MessageBusExceptionHandler
      • handleDeliveryChannelException

        public void handleDeliveryChannelException​(de.quantummaid.eventmaid.processingcontext.ProcessingContext<Object> message,
                                                   Exception e,
                                                   de.quantummaid.eventmaid.channel.Channel<Object> channel)
        Specified by:
        handleDeliveryChannelException in interface de.quantummaid.eventmaid.messagebus.exception.MessageBusExceptionHandler
      • handleFilterException

        public void handleFilterException​(de.quantummaid.eventmaid.processingcontext.ProcessingContext<Object> message,
                                          Exception e,
                                          de.quantummaid.eventmaid.channel.Channel<Object> channel)
        Specified by:
        handleFilterException in interface de.quantummaid.eventmaid.messagebus.exception.MessageBusExceptionHandler