public class MessageStoreView extends Object implements MessageStoreViewMBean
Constructor and Description |
---|
MessageStoreView(String name,
MessageStore messageStore) |
Modifier and Type | Method and Description |
---|---|
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() |
public MessageStoreView(String name, MessageStore messageStore)
public void deleteAll()
MessageStoreViewMBean
deleteAll
in interface MessageStoreViewMBean
public List<String> getMessageIds()
MessageStoreViewMBean
getMessageIds
in interface MessageStoreViewMBean
public void delete(String messageID)
MessageStoreViewMBean
delete
in interface MessageStoreViewMBean
messageID
- ID of the message to be deletedpublic String getEnvelope(String messageID)
MessageStoreViewMBean
getEnvelope
in interface MessageStoreViewMBean
messageID
- ID of the message to be returnedpublic int getSize()
getSize
in interface MessageStoreViewMBean
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.