Package org.apache.synapse.message.store
Interface MessageStoreViewMBean
-
- All Known Implementing Classes:
MessageStoreView
public interface MessageStoreViewMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
delete(String messageID)
Delete the Message with Given idvoid
deleteAll()
Delete all the Messages in Message storeString
getEnvelope(String messageID)
Get the SOAP envelope of the given Message with given IDList<String>
getMessageIds()
Get the Message IDs of all stored Messages in the Message storelong
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
long getSize()
- Returns:
- the number of Messages stored in the store.
-
-