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 voiddelete(String messageID)Delete the Message with Given idvoiddeleteAll()Delete all the Messages in Message storeStringgetEnvelope(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 storelonggetSize()
-
-
-
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.
-
-