On 07/04/2008, fuchsmi <[EMAIL PROTECTED]> wrote:
>
>  Hi All,
>
>  I want to read from an JMS queue and run multi threaded a processor on it.
>
>  So:
>  From("activemq:income").thread(20).process(new
>  MyHardWork()).to("activemq:outqueue");

If you are using JMS it supports concurrent consumption already. Just do

from("activemq:income?concurrentConsumers=20")...

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Reply via email to