org.apache.activemq.store
Interface MessageRecoveryListener

All Known Implementing Classes:
AbstractStoreCursor

public interface MessageRecoveryListener


Method Summary
 boolean hasSpace()
           
 boolean isDuplicate(MessageId ref)
          check if ref is a duplicate but do not record the reference
 boolean recoverMessage(Message message)
           
 boolean recoverMessageReference(MessageId ref)
           
 

Method Detail

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-2013 The Apache Software Foundation. All Rights Reserved.