Hi,

you need to use ActiveMQ classes to connect.


Regards
-- 
Dejan Bosanac - http://twitter.com/dejanb
-----------------
The experts in open source integration and messaging - http://fusesource.com
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Mon, Sep 26, 2011 at 8:20 PM, Dean Butler <[email protected]> wrote:

> 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:
> "com.ibm.websphere.naming.WsnInitialContextFactory". 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
> changes).
>
> Is the ActiveMQInitialContextFactory class required when connecting to an
> ActiveMQ server? If not, how do I connect to ActiveMQ broker using
> WebSphere
> classes/JARs?
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Is-JMS-consumer-required-to-use-ActiveMQ-class-to-create-connection-factory-tp3844797p3844797.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Reply via email to