org.apache.activemq.store
Interface MessageRecoveryListener
- All Known Implementing Classes:
- AbstractStoreCursor
public interface MessageRecoveryListener
- Version:
- $Revision: 1.4 $
recoverMessage
boolean recoverMessage(Message message)
throws Exception
- Throws:
Exception
recoverMessageReference
boolean recoverMessageReference(MessageId ref)
throws Exception
- Throws:
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-2011 Apache Software Foundation. All Rights Reserved.