public interface JMSConnectorFactory
| Modifier and Type | Method and Description |
|---|---|
JMSClientConnector |
createClientConnector(Map<String,String> propertyMap)
Returns an instance of the
JMSClientConnector class. |
JMSServerConnector |
createServerConnector(String serviceId,
Map<String,String> connectorConfig,
JMSListener jmsListener)
Returns an instance of the
JMSServerConnector using the given serviceId. |
JMSServerConnector createServerConnector(String serviceId, Map<String,String> connectorConfig, JMSListener jmsListener) throws JMSConnectorException
JMSServerConnector using the given serviceId.serviceId - id used to create the server connector instance.connectorConfig - properties required for the JMSServerConnector class.jmsListener - listener which gets triggered when message comes.JMSConnectorException - if any error occurred when creating the server connector.JMSClientConnector createClientConnector(Map<String,String> propertyMap) throws JMSConnectorException
JMSClientConnector class.propertyMap - properties required for the JMSClientConnector class.JMSConnectorException - if any error occurred when creating the client connector.Copyright © 2019 WSO2. All rights reserved.