public abstract class AndesJMSBase extends Object
| Modifier and Type | Field and Description |
|---|---|
protected AndesJMSClientConfiguration |
jmsConfig
The configuration file used in creating the JMS publishers and consumers.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AndesJMSBase(AndesJMSClientConfiguration config)
Creates the initial context.
|
| Modifier and Type | Method and Description |
|---|---|
abstract AndesJMSClientConfiguration |
getConfig()
Gets the configuration.
|
InitialContext |
getInitialContext()
Gets the initial context.
|
abstract void |
startClient()
Starts up the publisher or consumer.
|
abstract void |
stopClient()
Stops the publisher or consumer
|
protected final AndesJMSClientConfiguration jmsConfig
protected AndesJMSBase(AndesJMSClientConfiguration config) throws NamingException
config - The configuration.NamingExceptionpublic InitialContext getInitialContext()
public abstract void startClient()
throws javax.jms.JMSException,
NamingException,
IOException,
AndesClientException
javax.jms.JMSExceptionNamingExceptionIOExceptionAndesClientExceptionpublic abstract void stopClient()
throws javax.jms.JMSException,
AndesClientException
javax.jms.JMSExceptionAndesClientExceptionpublic abstract AndesJMSClientConfiguration getConfig()
Copyright © 2019 WSO2. All rights reserved.