Interface MessageRecoveryListener

All Known Implementing Classes:
AbstractStoreCursor

public interface MessageRecoveryListener
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
     
    boolean
     
    boolean
    isDuplicate(org.apache.activemq.command.MessageId ref)
    check if ref is a duplicate but do not record the reference
    boolean
    recoverMessage(org.apache.activemq.command.Message message)
     
    boolean
    recoverMessageReference(org.apache.activemq.command.MessageId ref)
     
  • Method Details

    • 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