2 Replies Latest reply on Jun 16, 2011 7:33 AM by 869020

    How to connect to openMQ and apache Camel


      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));