|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.amqp.rabbit.retry.RejectAndDontRequeueRecoverer
public class RejectAndDontRequeueRecoverer
MessageRecover that causes the listener container to reject the message without requeuing. This enables failed messages to be sent to a Dead Letter Exchange/Queue, if the broker is so configured.
| Constructor Summary | |
|---|---|
RejectAndDontRequeueRecoverer()
|
|
| Method Summary | |
|---|---|
void |
recover(org.springframework.amqp.core.Message message,
java.lang.Throwable cause)
Callback for message that was consumed but failed all retry attempts. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RejectAndDontRequeueRecoverer()
| Method Detail |
|---|
public void recover(org.springframework.amqp.core.Message message,
java.lang.Throwable cause)
MessageRecoverer
recover in interface MessageRecoverermessage - the message to recovercause - the cause of the error
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||