Package org.apache.activemq.store
Interface MessageRecoveryListener
- All Known Implementing Classes:
AbstractStoreCursor,MessageRecoveryContext
public interface MessageRecoveryListener
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanbooleanhasSpace()booleanisDuplicate(org.apache.activemq.command.MessageId ref) check if ref is a duplicate but do not record the referencebooleanrecoverMessage(org.apache.activemq.command.Message message) booleanrecoverMessageReference(org.apache.activemq.command.MessageId ref)
-
Method Details
-
recoverMessage
- Throws:
Exception
-
recoverMessageReference
- 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
-