This discussion is archived
2 Replies Latest reply: Jun 16, 2011 12:33 AM by 869020 RSS

How to connect to openMQ and apache Camel

869020 Newbie
Currently Being Moderated

Currently I'm using an ActiveMQ for my messaging queue's.
I'm using Apache Camel to do al my transactions to the queue's.

Now I want to change the ActiveMQ to the Glassfish build in OpenMQ.

Can somebody tell me how I can connect to an OpenMQ using a jms provider, that I can use with Apache Camel?

I'm searching for days, and I can't find any solution.

I'm connecting to Apache ActiveMQ like this
CamelContext context = new DefaultCamelContext();
ConnectionFactory connectionFactory =
new ActiveMQConnectionFactory("vm://localhost");

context.addComponent("jms", JmsComponent.jmsComponentAutoAcknowledge(connectionFactory));



  • Correct Answers - 10 points
  • Helpful Answers - 5 points