This section describes how to configure the WSO2 ESB's JMS transport with Tibco EMS . Follow the steps below to set up and configure.
1. Download and set up Tibco EMS in your environment.
2. Follow the Installation Guide and set up WSO2 ESB If you have not done so already, download and install WSO2 ESB as described in Getting Started.
3. Copy the TIBCO EMS client jars to <ESB_HOME>/repository/components/lib directory.
4. WSO2 ESB doesn’t come with a default configuration script for TIBCO EMS. Therefore, add the following configuration to <ESB_HOME>/repository/conf/axis2/axis2.xml file.
Setting up the JMS Listener
...
Setting up the JMS Sender
To enable the JMS transport sender, add the following JMS transport listener configuration in <ESB_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> |
...
Info | ||
---|---|---|
| ||
For details of JMS configuration parameters used in the code segments above, refer to JMS Connection Factory Parameters. |
...