Hi See also http://camel.apache.org/threading-model.html
how you can setup thread pools / thread pool profiles etc, and assign those to the eips and components and whatnot. On Wed, Aug 13, 2014 at 7:41 PM, efenderbosch <[email protected]> wrote: > Of course, I figure it out 30 minutes after posting. This route works as > desired: > > from("stomp:request_queue"). > bean(new MyGenerator()). > split(body(), new MyAggregationStrategy()). > parallelProcessing().executorService(Executors.newFixedThreadPool(4)). > bean(new MyRunner()). > end(). > recipientList(simple("stomp:${headers[reply-to]}")); > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Limiting-thread-pool-size-for-parallelProcessing-tp5755185p5755186.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/
