public class MessageStoreAdminClient extends Object
| Constructor and Description |
|---|
MessageStoreAdminClient(String backEndUrl,
String sessionCookie) |
MessageStoreAdminClient(String backEndUrl,
String userName,
String password) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMessageStore(DataHandler dh) |
void |
addMessageStore(org.apache.axiom.om.OMElement messageStore) |
void |
deleteMessage(String storeName,
String messageId) |
void |
deleteMessageStore(String messageStoreName) |
org.wso2.carbon.message.store.stub.MessageInfo[] |
getAllMessages(String storeName) |
String |
getEnvelope(String storeName,
String messageId) |
int |
getMessageCount(String storeName) |
String[] |
getMessageStores() |
org.wso2.carbon.message.store.stub.MessageInfo[] |
getPaginatedMessages(String storeName,
int pageNo) |
void |
updateMessageStore(org.apache.axiom.om.OMElement messageStore) |
public MessageStoreAdminClient(String backEndUrl, String sessionCookie) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFaultpublic void addMessageStore(DataHandler dh) throws IOException, XMLStreamException, org.wso2.carbon.message.store.stub.Exception
IOExceptionXMLStreamExceptionorg.wso2.carbon.message.store.stub.Exceptionpublic void addMessageStore(org.apache.axiom.om.OMElement messageStore)
throws RemoteException,
org.wso2.carbon.message.store.stub.Exception
RemoteExceptionorg.wso2.carbon.message.store.stub.Exceptionpublic void updateMessageStore(org.apache.axiom.om.OMElement messageStore)
throws RemoteException
RemoteExceptionpublic void deleteMessageStore(String messageStoreName) throws RemoteException
RemoteExceptionpublic void deleteMessage(String storeName, String messageId) throws RemoteException
RemoteExceptionpublic String[] getMessageStores() throws RemoteException
RemoteExceptionpublic int getMessageCount(String storeName) throws RemoteException
RemoteExceptionpublic org.wso2.carbon.message.store.stub.MessageInfo[] getAllMessages(String storeName) throws RemoteException
RemoteExceptionpublic org.wso2.carbon.message.store.stub.MessageInfo[] getPaginatedMessages(String storeName, int pageNo) throws RemoteException
RemoteExceptionpublic String getEnvelope(String storeName, String messageId) throws RemoteException
RemoteExceptionCopyright © 2019 WSO2 Inc. All rights reserved.