activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Butler <>
Subject Is JMS consumer required to use ActiveMQ class to create connection factory?
Date Mon, 26 Sep 2011 18:20:53 GMT
I have an application that needs to receive messages from a JMS producer. The
producer is implemented using ActiveMQ on a Tomcat server. The JMS consumer
is running on a system that has a full WebSphere Application Server
installation. Actually, the consumer application is not running within
WebSphere, but all the WebSphere libraries are available.

A requirement on this application is to implement the JMS consumer with the
WebSphere JARs (i.e. NOT require the ActiveMQ JAR). To connect to a
WebSphere broker, you specify:
"". The application does
receive messages when I changed the code to include activemq-all-5.4.1.jar
in the classpath and specified
"org.apache.activemq.jndi.ActiveMQInitialContextFactory" (no other code

Is the ActiveMQInitialContextFactory class required when connecting to an
ActiveMQ server? If not, how do I connect to ActiveMQ broker using WebSphere

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message