public class JMSServerConnectorImpl extends Object implements JMSServerConnector
| Constructor and Description |
|---|
JMSServerConnectorImpl(String serviceId,
Map<String,String> connectorConfig,
JMSListener jmsListener) |
| Modifier and Type | Method and Description |
|---|---|
void |
start()
Start the server connector which actually starts listening for jms messages.
|
boolean |
stop()
Stops the server connector which actually closes the port.
|
public JMSServerConnectorImpl(String serviceId, Map<String,String> connectorConfig, JMSListener jmsListener) throws JMSConnectorException
JMSConnectorExceptionpublic void start()
throws JMSConnectorException
JMSServerConnectorstart in interface JMSServerConnectorJMSConnectorException - if error occurred while starting the server connector.public boolean stop()
throws JMSConnectorException
JMSServerConnectorstop in interface JMSServerConnectorJMSConnectorException - if error occurred while stopping the server connector.Copyright © 2019 WSO2. All rights reserved.