Hi there,

If I do something like this:


from("activemq:queue:myqueue").thread(2).process(new Processor() {
        public void process(Exchange exchange) throws Exception {
                Thread.sleep(1000);
        }
})...do something else


...then should that mean that I can have two processors processing messages
concurrently?

I ask because it appears that only one thread is being used.

I'm using Camel 1.4. Thanks for any clarification.

Kind regards,
Christopher
-- 
View this message in context: 
http://www.nabble.com/activemq-endpoint-and-thread-pools-tp20187089s22882p20187089.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to