This section describes how to configure the WSO2 ESBEnterprise Integrator's JMS transport with Tibco EMS . Follow the steps below to set up and configure.
Note |
---|
From the below configurations, do the ones in the axis2.xml file based on the profile you use as follows:
|
- Download and set up Tibco EMS in your environment.
- If you have not done so already, download and install WSO2 ESB EI as described in Installation Guide.
- Copy the Tibco EMS client jar files that are shipped with the distribution to the
<ESB<EI_HOME>/repository/components/extensions
directory.- tibcrypt.jar
- tibjms.jar
- tibjmsadmin.jar
- tibjmsapps.jar
- tibrvjms.jar
- WSO2 ESB EI does not have a default configuration script for TIBCO EMS. Therefore, add the following configuration to the
<ESB<EI_HOME>/repository/conf/axis2/axis2.xml
file.
...
To enable the JMS transport sender, add the following JMS transport listener configuration in <ESB<EI_HOME>/repository/conf/axis2/axis2.xml file.
Code Block | ||
---|---|---|
| ||
<transportSender name="jms" class="org.apache.axis2.transport.jms.JMSSender"> <parameter locked="false" name="QueueConnectionFactory"> <parameter locked="false" name="java.naming.factory.initial"> com.tibco.tibjms.naming.TibjmsInitialContextFactory </parameter> <parameter locked="false" name="java.naming.provider.url">tcp://127.0.0.1:37222</parameter> <parameter locked="false" name="transport.jms.ConnectionFactoryJNDIName">QueueConnectionFactory</parameter> <parameter locked="false" name="transport.jms.JMSSpecVersion">1.0.2b</parameter> <parameter locked="false" name="transport.jms.ConnectionFactoryType">queue</parameter> </parameter> </transportSender> |
For details on the JMS configuration parameters used in the code segments above, see JMS Connection Factory Parameters.
You now have instances of Tibco EMS and WSO2 ESB EI configured, up and running. Next, see JMS Usecases for implementation details of various JMS use cases.