Spring AMQP

org.springframework.amqp.rabbit.retry
Interface MessageRecoverer


public interface MessageRecoverer

Author:
Dave Syer

Method Summary
 void recover(Message message, Throwable cause)
          Callback for message that was consumed but failed all retry attempts.
 

Method Detail

recover

void recover(Message message,
             Throwable cause)
Callback for message that was consumed but failed all retry attempts.

Parameters:
message - the message to recover
cause - the cause of the error

Spring AMQP

Copyright © 2011. All Rights Reserved.