Package org.springframework.amqp.rabbit.retry
@NullMarked
package org.springframework.amqp.rabbit.retry
Provides classes supporting retries.
-
ClassDescriptionThe
MessageRecovererimplementation to throw anImmediateRequeueAmqpExceptionfor subsequent requeuing in the listener container.A retry recoverer for use with a batch listener.Implementations of this interface can handle failed messages after retries are exhausted.An optimization for stateful retry of message processing.MessageRecover that causes the listener container to reject the message without requeuing.MessageRecovererimplementation that republishes recovered messages to a specified exchange with the exception stack trace stored in the message header x-exception.ARepublishMessageRecoverersupporting publisher confirms and returns.