...
2. If you have not done so already, download and install WSO2 ESB as described in Getting Started.
3. Copy the following TIBCO EMS client jars that are shipped with the distribution to <ESB_HOME>/repository/components/lib directory. .
- tibcrypt.jar
- tibjms.jar
- tibjmsadmin.jar
- tibjmsapps.jar
- tibrvjms.jar
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.
...
Code Block | ||
---|---|---|
| ||
<transportReceiver name="jms" class="org.apache.axis2.transport.jms.JMSListener"> <parameter name="TopicConnectionFactory" locked="false"> <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="java.naming.security.principal">admin</parameter> <parameter locked="false" name="java.naming.security.credentials"/> <parameter locked="false" name="transport.jms.ConnectionFactoryJNDIName">TopicConnectionFactory</parameter> <parameter locked="false" name="transport.jms.JMSSpecVersion">1.0.2b</parameter> <parameter locked="false" name="transport.jms.ConnectionFactoryType">topic</parameter> <parameter locked="false" name="transport.jms.UserName">admin</parameter> <parameter locked="false" name="transport.jms.Password"/>admin</parameter> <parameter locked="false" name="transport.jms.CacheLevel">session</parameter> </parameter> <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="java.naming.security.principal">admin</parameter> <parameter locked="false" name="java.naming.security.credentials"/> <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 locked="false" name="transport.jms.UserName">admin</parameter> <parameter locked="false" name="transport.jms.Password"/>admin</parameter> <parameter locked="false" name="transport.jms.CacheLevel">session</parameter> </parameter> <parameter name="default" locked="false"> <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="java.naming.security.principal">admin</parameter> <parameter locked="false" name="java.naming.security.credentials"/> <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 locked="false" name="transport.jms.UserName">admin</parameter> <parameter locked="false" name="transport.jms.Password"/>admin</parameter> <parameter locked="false" name="transport.jms.CacheLevel">session</parameter> </parameter> </transportReceiver> |
...