Class HL7StoreAdminService


  • public class HL7StoreAdminService
    extends org.wso2.carbon.mediation.initializer.AbstractServiceBusAdmin
    • Field Detail

      • MSGS_PER_PAGE

        public static int MSGS_PER_PAGE
    • Constructor Detail

      • HL7StoreAdminService

        public HL7StoreAdminService()
    • Method Detail

      • getHL7StoreNames

        public String[] getHL7StoreNames()
                                  throws org.apache.axis2.AxisFault
        Get all the Current Message store names defined in the configuration
        Returns:
        array of Strings that contains MessageStore names
        Throws:
        org.apache.axis2.AxisFault
      • getSize

        public int getSize​(String name)
                    throws org.apache.axis2.AxisFault
        Get the number of messages in the Message store with given name
        Parameters:
        name - of the MessageStore
        Returns:
        number of message stores in the given store
        Throws:
        org.apache.axis2.AxisFault - if Message store does not exists
      • getClassName

        public String getClassName​(String name)
                            throws org.apache.axis2.AxisFault
        Get the implementation class name of the MessageStore
        Parameters:
        name - of the MessageStore
        Returns:
        implementation class name of the Message Store
        Throws:
        org.apache.axis2.AxisFault
      • getHL7Proxies

        public String[] getHL7Proxies​(String storeName)
      • getSearchSize

        public int getSearchSize​(String storeName,
                                 String query)
                          throws org.apache.axis2.AxisFault
        Throws:
        org.apache.axis2.AxisFault
      • sendMessage

        public boolean sendMessage​(String msg,
                                   String storeName,
                                   String proxyName)
      • updateMessage

        public boolean updateMessage​(String storeName,
                                     String messageId,
                                     String er7Payload,
                                     String xmlPayload)
      • flushMessages

        public boolean flushMessages​(String storeName)