Package org.springframework.amqp.listener
@NullMarked
package org.springframework.amqp.listener
Package for Spring AMQP common listener support classes.
-
ClassDescription
ErrorHandlerthat conditionally wraps the Exception in anAmqpRejectAndDontRequeueExceptionif the configured rejection strategy determines that the message is fatal and should not be requeued.Default implementation ofFatalExceptionStrategy.Utility methods for listener containers.A strategy interface for theConditionalRejectingErrorHandlerto decide whether an exception should be considered as fatal and the message should not be requeued (released), rather discarded (rejected).Exception to be thrown when the execution of a listener method failed.Exception class that indicates a rejected message on shutdown.