Hi On Sat, Apr 30, 2011 at 12:25 PM, viswa <dwhvi...@gmail.com> 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 > CamelJmsToFileExample.java 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: > http://camel.465427.n5.nabble.com/Error-throwing-Openmq-configuration-with-Apache-Camel-tp4360764p4360919.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com CamelOne 2011: http://fusesource.com/camelone2011/ Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/