org.apache.synapse.message.store
Interface MessageStoreViewMBean

All Known Implementing Classes:
MessageStoreView

public interface MessageStoreViewMBean


Method Summary
 void delete(String messageID)
          Delete the Message with Given id
 void deleteAll()
          Delete all the Messages in Message store
 String getEnvelope(String messageID)
          Get the SOAP envelope of the given Message with given ID
 List<String> getMessageIds()
          Get the Message IDs of all stored Messages in the Message store
 int getSize()
           
 

Method Detail

deleteAll

void deleteAll()
Delete all the Messages in Message store


getMessageIds

List<String> getMessageIds()
Get the Message IDs of all stored Messages in the Message store

Returns:
a list of message ID values

delete

void delete(String messageID)
Delete the Message with Given id

Parameters:
messageID - ID of the message to be deleted

getEnvelope

String getEnvelope(String messageID)
Get the SOAP envelope of the given Message with given ID

Parameters:
messageID - ID of the message to be returned
Returns:
the SOAP envelope content as a string

getSize

int getSize()
Returns:
the number of Messages stored in the store.


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