KB Article #55386

How to use the JMS connector with openjms

Problem

How to use the JMS connector with openjms


Resolution

the following jars must be added in the classpath for Integrator Server:



openjms-0.7.7-beta-1.jar;
openjms-tools-0.7.7-beta-1.jar;
commons-codec-1.3.jar;
concurrent-1.3.4.jar;
jndi-1.2.1.jar;
log4j-boot.jar;
openjms-common-0.7.7-beta-1.jar;
openjms-net-0.7.7-beta-1.jar;
spice-jndikit-1.2.jar



in the commadapter of the JMS partner:



URL template is tcp://<host>:<port> - check the name of your machine and the port is 3035 by default
implementation class is org.exolab.jms.jndi.InitialContextFactory
ConnectionFactory is ConnectionFactory



in the commpoint of the JMS partner
take user and pwd from openjms.xml



in the channel:
Destination name is the name of the JMS queue