org.apache.activemq.store
Interface MessageRecoveryListener
- All Known Implementing Classes:
- AbstractStoreCursor
public interface MessageRecoveryListener
recoverMessage
boolean recoverMessage(Message message)
throws java.lang.Exception
- Throws:
java.lang.Exception
recoverMessageReference
boolean recoverMessageReference(MessageId ref)
throws java.lang.Exception
- Throws:
java.lang.Exception
hasSpace
boolean hasSpace()
isDuplicate
boolean isDuplicate(MessageId ref)
- check if ref is a duplicate but do not record the reference
- Parameters:
ref
-
- Returns:
- true if ref is a duplicate
Copyright © 2005-2016. All Rights Reserved.