Interface MessageRecoveryListener

    • Method Detail

      • recoverMessage

        boolean recoverMessage​(org.apache.activemq.command.Message message)
                        throws Exception
        Throws:
        Exception
      • recoverMessageReference

        boolean recoverMessageReference​(org.apache.activemq.command.MessageId ref)
                                 throws Exception
        Throws:
        Exception
      • hasSpace

        boolean hasSpace()
      • canRecoveryNextMessage

        default boolean canRecoveryNextMessage()
      • isDuplicate

        boolean isDuplicate​(org.apache.activemq.command.MessageId ref)
        check if ref is a duplicate but do not record the reference
        Parameters:
        ref -
        Returns:
        true if ref is a duplicate