public class MessageStoreAdminServiceClient extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MESSAGE_STORES_PER_PAGE |
| Constructor and Description |
|---|
MessageStoreAdminServiceClient(String cookie,
String backendServerUrl,
org.apache.axis2.context.ConfigurationContext configurationContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMessageStore(String xml)
This method will add Message store to the synapse configuration
|
void |
deleteAllMessages(String name) |
void |
deleteFirstMessages(String name) |
void |
deleteMessage(String name,
String messageId) |
void |
deleteMessageStore(String name) |
List<String> |
getAllDataSourceInformations()
Get carbon ndatasourcelist for jdbc message stores
|
String |
getClassName(String name) |
String |
getEnvelope(String name,
String messageId) |
MessageStoreData |
getMessageStore(String name) |
MessageStoreData[] |
getMessageStoreData() |
String[] |
getMessageStoreNames() |
org.wso2.carbon.message.store.stub.MessageInfo[] |
getPaginatedMessages(String name,
int pageNumber) |
MessageStoreData[] |
getPaginatedMessageStoreData(int pageNumber) |
String[] |
getPaginatedMessageStoreNames(int pageNumber) |
int |
getSize(String name) |
boolean |
isMBbased(String name) |
void |
modifyMessageStore(String xml) |
public void addMessageStore(String xml) throws Exception
xml - Exceptionpublic MessageStoreData[] getMessageStoreData() throws Exception
Exceptionpublic MessageStoreData[] getPaginatedMessageStoreData(int pageNumber) throws Exception
Exceptionpublic String[] getPaginatedMessageStoreNames(int pageNumber) throws Exception
Exceptionpublic org.wso2.carbon.message.store.stub.MessageInfo[] getPaginatedMessages(String name, int pageNumber) throws Exception
Exceptionpublic String getEnvelope(String name, String messageId) throws Exception
Exceptionpublic MessageStoreData getMessageStore(String name) throws Exception
Exceptionpublic void deleteMessage(String name, String messageId) throws Exception
Exceptionpublic List<String> getAllDataSourceInformations() throws RemoteException, org.wso2.carbon.ndatasource.ui.stub.NDataSourceAdminDataSourceException
RemoteExceptionorg.wso2.carbon.ndatasource.ui.stub.NDataSourceAdminDataSourceExceptionCopyright © 2022 WSO2. All rights reserved.