Re: Having problems with CamelContext.addRoutes() and ActiveMQ

2015-07-21 Thread Claus Ibsen
Hi When you use the vm transport, then make sure to use the correct name as the name defined in the . If there is no name defined there, then give it a name. On Tue, Jul 21, 2015 at 10:17 PM, rwoolf wrote: > I have done as you said, and I use activemq.xml and import a camel.xml file > that defin

Re: Having problems with CamelContext.addRoutes() and ActiveMQ

2015-07-21 Thread rwoolf
I have done as you said, and I use activemq.xml and import a camel.xml file that defines the route. But I still can't get things I put in the queue to then be processed via the route. activemq.xml http://www.springframework.org/schema/beans"; xmlns:amq="http://activemq.apache.org/schema/core";

Re: Having problems with CamelContext.addRoutes() and ActiveMQ

2015-06-13 Thread Claus Ibsen
Hi You can define routes in xml files too. And ActiveMQ comes with a camel.xml sample out of the box. You can configure ActiveMQ to import and use that xml file, or copy the xml to the main activemq configuration file. Having the in the xml file is a good idea as it allows AMQ to control the lif

Having problems with CamelContext.addRoutes() and ActiveMQ

2015-06-11 Thread Ross Woolf
I am having problems getting queue data from CamelContext. I am a newbie to Camel and so I just don't see what I am doing wrong. I am using: Camel 2.15.2 ActiveMQ 5.11.1 I am using the following code to send data to the queue and it works (all of this is just test code to learn Camel). public s