Interface FatalExceptionStrategy

All Known Subinterfaces:
FatalExceptionStrategy
All Known Implementing Classes:
ConditionalRejectingErrorHandler.DefaultExceptionStrategy
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface FatalExceptionStrategy
A strategy interface for the ConditionalRejectingErrorHandler to decide whether an exception should be considered as fatal and the message should not be requeued (released), rather discarded (rejected).
Since:
4.1
Author:
Gary Russell, Artem Bilan
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isFatal(Throwable throwable)
     
  • Method Details

    • isFatal

      boolean isFatal(Throwable throwable)