public class HL7StoreAdminService
extends org.wso2.carbon.mediation.initializer.AbstractServiceBusAdmin
Modifier and Type | Field and Description |
---|---|
static int |
MSGS_PER_PAGE |
Constructor and Description |
---|
HL7StoreAdminService() |
Modifier and Type | Method and Description |
---|---|
boolean |
flushMessages(String storeName) |
String |
getClassName(String name)
Get the implementation class name of the MessageStore
|
String[] |
getHL7Proxies(String storeName) |
String[] |
getHL7StoreNames()
Get all the Current Message store names defined in the configuration
|
TransferableHL7Message |
getMessage(String storeName,
String messageId) |
List<TransferableHL7Message> |
getMessages(String storeName) |
List<TransferableHL7Message> |
getMessagesPaginated(String storeName,
int pageNumber) |
int |
getSearchSize(String storeName,
String query) |
int |
getSize(String name)
Get the number of messages in the Message store with given name
|
List<TransferableHL7Message> |
search(String storeName,
String query) |
boolean |
sendMessage(String msg,
String storeName,
String proxyName) |
boolean |
updateMessage(String storeName,
String messageId,
String er7Payload,
String xmlPayload) |
getLock, getMediationPersistenceManager, getServerConfigurationInformation, getServerContextInformation, getSynapseConfiguration, getSynapseEnvironment, getSynapseEnvironment, lockSynapseConfiguration, unlockSynapseConfiguration
getAxisConfig, getConfigContext, getConfigSystemRegistry, getConfigUserRegistry, getGovernanceRegistry, getGovernanceSystemRegistry, getGovernanceUserRegistry, getHttpSession, getLocalRepo, getRegistry, getTenantDomain, getUsername, getUserRealm, setConfigurationContext, setPermissionUpdateTimestamp
public String[] getHL7StoreNames() throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public int getSize(String name) throws org.apache.axis2.AxisFault
name
- of the MessageStoreorg.apache.axis2.AxisFault
- if Message store does not existspublic String getClassName(String name) throws org.apache.axis2.AxisFault
name
- of the MessageStoreorg.apache.axis2.AxisFault
public List<TransferableHL7Message> getMessages(String storeName) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public List<TransferableHL7Message> search(String storeName, String query) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public int getSearchSize(String storeName, String query) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public List<TransferableHL7Message> getMessagesPaginated(String storeName, int pageNumber) throws ca.uhn.hl7v2.HL7Exception, IOException, ClassNotFoundException
ca.uhn.hl7v2.HL7Exception
IOException
ClassNotFoundException
public TransferableHL7Message getMessage(String storeName, String messageId) throws ca.uhn.hl7v2.HL7Exception, IOException, ClassNotFoundException
ca.uhn.hl7v2.HL7Exception
IOException
ClassNotFoundException
public boolean updateMessage(String storeName, String messageId, String er7Payload, String xmlPayload)
public boolean flushMessages(String storeName)
Copyright © 2018 WSO2. All rights reserved.