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 TheMessageRecoverer
implementation to throw anImmediateRequeueAmqpException
for subsequent requeuing in the listener container.RejectAndDontRequeueRecoverer MessageRecover that causes the listener container to reject the message without requeuing.RepublishMessageRecoverer MessageRecoverer
implementation that republishes recovered messages to a specified exchange with the exception stack trace stored in the message header x-exception.RepublishMessageRecovererWithConfirms ARepublishMessageRecoverer
supporting publisher confirms and returns.