In STEP 6 you mean I also have to change the POM.xml to use the openmq
broker?


On Sat, Apr 30, 2011 at 3:59 PM, Claus Ibsen-2[via Camel] <
ml-node+4360924-835939797-150...@n5.nabble.com> wrote:

> Hi
>
> On Sat, Apr 30, 2011 at 12:25 PM, viswa <[hidden 
> email]<http://user/SendEmail.jtp?type=node&node=4360924&i=0&by-user=t>>
> 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<http://camel.465427.n5.nabble.com/Error-throwing-Openmq-configuration-with-Apache-Camel-tp4360764p4360919.html?by-user=t>
>
> > Sent from the Camel - Users mailing list archive at Nabble.com.
> >
>
>
>
> --
> Claus Ibsen
> -----------------
> FuseSource
> Email: [hidden 
> email]<http://user/SendEmail.jtp?type=node&node=4360924&i=1&by-user=t>
> 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/
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://camel.465427.n5.nabble.com/Error-throwing-Openmq-configuration-with-Apache-Camel-tp4360764p4360924.html
>  To unsubscribe from Error throwing ---Openmq configuration with Apache
> Camel, click 
> here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4360764&code=ZHdodmlzd2FAZ21haWwuY29tfDQzNjA3NjR8MTk5NTUxMjk1MA==>.
>
>
--
View this message in context: 
http://camel.465427.n5.nabble.com/Error-throwing-Openmq-configuration-with-Apache-Camel-tp4360764p4360928.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to