Package org.apache.activemq.store
Interface MessageRecoveryListener
-
- All Known Implementing Classes:
AbstractStoreCursor
public interface MessageRecoveryListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
canRecoveryNextMessage()
boolean
hasSpace()
boolean
isDuplicate(org.apache.activemq.command.MessageId ref)
check if ref is a duplicate but do not record the referenceboolean
recoverMessage(org.apache.activemq.command.Message message)
boolean
recoverMessageReference(org.apache.activemq.command.MessageId ref)
-
-
-
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
-
-