Interface ChannelExceptionHandler<T>

    • Method Detail

      • shouldSubscriberErrorBeHandledAndDeliveryAborted

        boolean shouldSubscriberErrorBeHandledAndDeliveryAborted​(ProcessingContext<T> message,
                                                                 Exception e)
        When an exception is thrown inside the final action, this message can decide, if the message should be ignored or if the delivery should be aborted and handleSubscriberException should be called.
        Parameters:
        message - the message, that caused the exception
        e - the thrown exception
        Returns:
        if the delivery should be aborted and the exception be handled; false if the exception should be ignored
      • handleSubscriberException

        void handleSubscriberException​(ProcessingContext<T> message,
                                       Exception e)
        When the delivery should be aborted, this method is called to handle the exception.
        Parameters:
        message - the message, that caused the exception
        e - the thrown exception
      • handleFilterException

        void handleFilterException​(ProcessingContext<T> message,
                                   Exception e)
        Method, that is called, when an exception is thrown inside a Filter.
        Parameters:
        message - the message, that caused the exception
        e - the thrown exception