public class ActiveMQAdapter extends Object implements JMSAdapter
MESSAGE_PROPERTY_TRUST_USER| Constructor and Description |
|---|
ActiveMQAdapter() |
| Modifier and Type | Method and Description |
|---|---|
javax.jms.Queue |
getDestination() |
javax.jms.ConnectionFactory |
getFactory() |
javax.jms.Session |
getSession()
returns a Session
object
|
void |
initAdapter()
Validate call back.
|
void |
onStart()
Starting the adapter by setting the callback on the configuration and then start it
|
void |
onStop()
Stopping the adapter
|
void |
setConnection(javax.jms.Connection connection)
Only for test purposes.
|
void |
stopAdapter()
stops active mq adapter
|
public javax.jms.Queue getDestination()
throws javax.jms.JMSException
getDestination in interface JMSAdapterjavax.jms.JMSException - exceptionpublic javax.jms.ConnectionFactory getFactory()
public javax.jms.Session getSession()
throws javax.jms.JMSException
JMSAdaptergetSession in interface JMSAdapterjavax.jms.JMSException - exceptionpublic void initAdapter()
public void onStart()
public void onStop()
throws javax.jms.JMSException
javax.jms.JMSException - in case stopping failedpublic void setConnection(javax.jms.Connection connection)
connection - connection instance to be setpublic void stopAdapter()
throws javax.jms.JMSException
javax.jms.JMSException - exceptionCopyright © 2019 Communote team. All rights reserved.