public class RejectAndDontRequeueRecoverer extends Object implements MessageRecoverer
Constructor and Description |
---|
RejectAndDontRequeueRecoverer() |
Modifier and Type | Method and Description |
---|---|
void |
recover(Message message,
Throwable cause)
Callback for message that was consumed but failed all retry attempts.
|
protected Log logger
public void recover(Message message, Throwable cause)
MessageRecoverer
recover
in interface MessageRecoverer
message
- the message to recovercause
- the cause of the error