org.apache.synapse.message.store
Interface MessageStoreObserver


public interface MessageStoreObserver

An implementation of this interface can be registered with a Message store instance to receive Message store update update events. When ever a message is added/removed events defined in this interface will be fired


Method Summary
 void messageAdded(String messageId)
          Method invoked when a message is added to the store
 void messageRemoved(String messageId)
          Method invoked when a message is removed from the store
 

Method Detail

messageAdded

void messageAdded(String messageId)
Method invoked when a message is added to the store

Parameters:
messageId - of the message that was added to the Message store

messageRemoved

void messageRemoved(String messageId)
Method invoked when a message is removed from the store

Parameters:
messageId - of the Message that was removed


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.