Camel concurrentConsumers and Consume annotation

2013-12-09 Thread Robert Dare
Hello, I am using the org.apache.camel.Consume annotation to consume messages in Java from an ActiveMQ queue. I can configure the concurrentConsumers via the URI parameter in the annotation: @Consume(uri=activemq:queue:MyQueueName?concurrentConsumers=5) How can I externalize the

Re: Camel concurrentConsumers and Consume annotation

2013-12-09 Thread Claus Ibsen
Hi You ought to be able to use Camel's property placeholder http://camel.apache.org/using-propertyplaceholder.html On Mon, Dec 9, 2013 at 6:02 PM, Robert Dare robert.d...@gmail.com wrote: Hello, I am using the org.apache.camel.Consume annotation to consume messages in Java from an ActiveMQ