|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.systemqueue.driver.WebsphereESB
public class WebsphereESB
The JMS Client implementation for Enterprise Servcie Bus. It initialize the JMS client and provides specific way for obtaining JMS ConnectionFactory. JMS Client is limited for only one ConnectionFactory for Queue/Topic at a JVM.
Field Summary | |
---|---|
protected JMSDriverLog |
log
Driver properties for log |
static java.lang.String |
PROP_WESB_BROKER
JMS Driver property name used for broker |
static java.lang.String |
PROP_WESB_BUSNAME
JMS Driver property name used for channel/Bus name of WebsphereESB |
protected ResourceHash |
resHash
ResourceHash used for access of the TMS messages |
protected java.lang.String |
wesbChannel
Driver properties for Channel |
protected java.lang.String |
wesbHost
Driver properties for Host |
protected int |
wesbPort
Driver properties for Port |
protected java.lang.String |
wesbSIB
Driver properties for SIB End Point |
protected java.lang.String |
wesbURL
Driver properties for Url |
Fields inherited from interface com.ibm.di.systemqueue.driver.JMSDriver |
---|
ENVIRONMENT_LOG, JMS_DRIVER_TMS_FILE |
Constructor Summary | |
---|---|
WebsphereESB()
|
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_WESB_BROKER
public static final java.lang.String PROP_WESB_BUSNAME
protected java.lang.String wesbURL
protected java.lang.String wesbChannel
protected java.lang.String wesbHost
protected int wesbPort
protected java.lang.String wesbSIB
protected JMSDriverLog log
protected ResourceHash resHash
Constructor Detail |
---|
public WebsphereESB()
Method Detail |
---|
public javax.jms.QueueConnectionFactory getQueueFactory() throws java.lang.Exception
getQueueFactory
in interface JMSDriver
java.lang.Exception
- if QueueConnectionFactory cannot be createdpublic javax.jms.TopicConnectionFactory getTopicFactory() throws java.lang.Exception
getTopicFactory
in interface JMSDriver
java.lang.Exception
- if TopicConnectionFactory cannot be createdpublic void initialize(java.util.Hashtable env) throws java.lang.Exception
initialize
in interface JMSDriver
env
- Hashtable that holds Driver properties
java.lang.Exception
- if JMS Driver cannot be initializedpublic void terminate() throws java.lang.Exception
terminate
in interface JMSDriver
java.lang.Exception
- if error while terminating occurs.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |