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
- Exception
public MessageStoreData[] getMessageStoreData() throws Exception
Exception
public MessageStoreData[] getPaginatedMessageStoreData(int pageNumber) throws Exception
Exception
public String[] getPaginatedMessageStoreNames(int pageNumber) throws Exception
Exception
public org.wso2.carbon.message.store.stub.MessageInfo[] getPaginatedMessages(String name, int pageNumber) throws Exception
Exception
public String getEnvelope(String name, String messageId) throws Exception
Exception
public MessageStoreData getMessageStore(String name) throws Exception
Exception
public void deleteMessage(String name, String messageId) throws Exception
Exception
public List<String> getAllDataSourceInformations() throws RemoteException, org.wso2.carbon.ndatasource.ui.stub.NDataSourceAdminDataSourceException
RemoteException
org.wso2.carbon.ndatasource.ui.stub.NDataSourceAdminDataSourceException
Copyright © 2021 WSO2. All rights reserved.