Class ImmediateRequeueMessageRecoverer

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected Log logger  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void recover​(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
    • Field Detail

      • logger

        protected Log logger
    • Constructor Detail

      • ImmediateRequeueMessageRecoverer

        public ImmediateRequeueMessageRecoverer()
    • Method Detail

      • recover

        public void recover​(Message message,
                            java.lang.Throwable cause)
        Description copied from interface: MessageRecoverer
        Callback for message that was consumed but failed all retry attempts.
        Specified by:
        recover in interface MessageRecoverer
        Parameters:
        message - the message to recover
        cause - the cause of the error