camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Error throwing ---Openmq configuration with Apache Camel
Date Sat, 30 Apr 2011 10:28:41 GMT

On Sat, Apr 30, 2011 at 12:25 PM, viswa <> wrote:
> Hello Claus Ibsen,
> Just to give more impression of what I'm trying to do.
> 1)Installed maven and its successful
> 2)Dowloaded Apache camel and did the necessary steps
> 2)I chose the example from the
> camel-example-jms-file\src\main\java\org\apache\camel\example\jmstofile
> 3)Ran with the existing embedded broker(Activemq)
> 4)BUILD successful and created the messages in the file(as per expected
> behaviour)
> 5)Now trying to change the broker to OpenMQ
> 6)I didnt change aynthing in POM.XML but only changed the file
>  and in this java file my changes are
> ConnectionFactory connectionFactory = new
> OpenMQConnectionFactory("vm://localhost?broker.persistent=false");
> 7)Ran the program from commandline.
> 8)Throwing ERROR as above.

In step 6 that's specific to the message broker you use. This is how
to use ActiveMQ (which is easy).
To use OpenMQ instead you have to read the documentation from OpenMQ
how to use it as a JMS client.
That information should have some JMS examples.

> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
CamelOne 2011:
Twitter: davsclaus
Author of Camel in Action:

View raw message