Package org.springframework.amqp.rabbit.retry
Provides classes supporting retries.
-
Interface Summary Interface Description MessageBatchRecoverer A retry recoverer for use with a batch listener.MessageKeyGenerator MessageRecoverer Implementations of this interface can handle failed messages after retries are exhausted.NewMessageIdentifier An optimization for stateful retry of message processing. -
Class Summary Class Description ImmediateRequeueMessageRecoverer TheMessageRecovererimplementation to throw anImmediateRequeueAmqpExceptionfor subsequent requeuing in the listener container.RejectAndDontRequeueRecoverer MessageRecover that causes the listener container to reject the message without requeuing.RepublishMessageRecoverer MessageRecovererimplementation that republishes recovered messages to a specified exchange with the exception stack trace stored in the message header x-exception.RepublishMessageRecovererWithConfirms ARepublishMessageRecoverersupporting publisher confirms and returns.