|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.di.systemqueue.driver.ActiveMQ
public class ActiveMQ
The ActiveMQ JMS Driver implementation. It initialize the JMS Driver and provides specific way for obtaining JMS QueueConnectionFactory/TopicConnectionFactory.
| Field Summary | |
|---|---|
static java.lang.String |
PROP_BROKER_URL
JMS Driver property name used to define broker. |
| Fields inherited from interface com.ibm.di.systemqueue.driver.JMSDriver |
|---|
ENVIRONMENT_LOG, JMS_DRIVER_TMS_FILE |
| Constructor Summary | |
|---|---|
ActiveMQ()
|
|
| Method Summary | |
|---|---|
javax.jms.QueueConnectionFactory |
getQueueFactory()
This method retrieves the provider-specific javax.jms.QueueConnectionFactory object |
javax.jms.TopicConnectionFactory |
getTopicFactory()
This method retrieves the provider-specific javax.jms.TopicConnectionFactory object |
void |
initialize(java.util.Hashtable env)
The initialize(Hastable env) method is passed a java.util.Hashtable object which stores provider-specific parameters, which can be used for connecting to a specific instance of the JMS server. |
void |
terminate()
This is a call-back method used to notify the JMS Driver so it could clean any used resources. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROP_BROKER_URL
| Constructor Detail |
|---|
public ActiveMQ()
| Method Detail |
|---|
public void initialize(java.util.Hashtable env)
throws java.lang.Exception
initialize in interface JMSDriverenv - Hashtable that holds Driver properties
java.lang.Exception - if JMS Driver cannot be initialized
public javax.jms.QueueConnectionFactory getQueueFactory()
throws java.lang.Exception
getQueueFactory in interface JMSDriverjava.lang.Exception - if QueueConnectionFactory cannot be created
public javax.jms.TopicConnectionFactory getTopicFactory()
throws java.lang.Exception
getTopicFactory in interface JMSDriverjava.lang.Exception - if TopicConnectionFactory cannot be created
public void terminate()
throws java.lang.Exception
terminate in interface JMSDriverjava.lang.Exception - if error while terminating occurs.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||