Package org.wso2.carbon.message.store.ui
Class MessageStoreAdminServiceClient
- java.lang.Object
-
- org.wso2.carbon.message.store.ui.MessageStoreAdminServiceClient
-
public class MessageStoreAdminServiceClient extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
MESSAGE_STORES_PER_PAGE
-
Constructor Summary
Constructors Constructor Description MessageStoreAdminServiceClient(String cookie, String backendServerUrl, org.apache.axis2.context.ConfigurationContext configurationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMessageStore(String xml)
This method will add Message store to the synapse configurationvoid
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 storesString
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)
-
-
-
Method Detail
-
addMessageStore
public void addMessageStore(String xml) throws Exception
This method will add Message store to the synapse configuration- Parameters:
xml
-- Throws:
Exception
-
getMessageStoreData
public MessageStoreData[] getMessageStoreData() throws Exception
- Throws:
Exception
-
getPaginatedMessageStoreData
public MessageStoreData[] getPaginatedMessageStoreData(int pageNumber) throws Exception
- Throws:
Exception
-
getPaginatedMessageStoreNames
public String[] getPaginatedMessageStoreNames(int pageNumber) throws Exception
- Throws:
Exception
-
getPaginatedMessages
public org.wso2.carbon.message.store.stub.MessageInfo[] getPaginatedMessages(String name, int pageNumber) throws Exception
- Throws:
Exception
-
getEnvelope
public String getEnvelope(String name, String messageId) throws Exception
- Throws:
Exception
-
getMessageStore
public MessageStoreData getMessageStore(String name) throws Exception
- Throws:
Exception
-
deleteMessage
public void deleteMessage(String name, String messageId) throws Exception
- Throws:
Exception
-
deleteFirstMessages
public void deleteFirstMessages(String name) throws Exception
- Throws:
Exception
-
getAllDataSourceInformations
public List<String> getAllDataSourceInformations() throws RemoteException, org.wso2.carbon.ndatasource.ui.stub.NDataSourceAdminDataSourceException
Get carbon ndatasourcelist for jdbc message stores- Throws:
RemoteException
org.wso2.carbon.ndatasource.ui.stub.NDataSourceAdminDataSourceException
-
-