Re: Camel scheduler is not concurrent

2016-04-14 Thread cookie
Thank you very much... that looks like the answer I am looking for. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-scheduler-is-not-concurrent-tp5781066p5781120.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel scheduler is not concurrent

2016-04-14 Thread Claus Ibsen
So if you want to use concurrent tasks on the same Camel route you need to configure that on the scheduler. I created an unit test to show how https://github.com/apache/camel/commit/244868166b2df472a7bfe34e8bfaea6e453e6217 On Thu, Apr 14, 2016 at 2:44 PM, Claus Ibsen wrote: > Its used when you u

Re: Camel scheduler is not concurrent

2016-04-14 Thread Claus Ibsen
Its used when you use the same thread pool but for multiple routes. Then each route can have their own tasks if you set concurrentTasks=Number of routes. See the unit test TwoSchedulerConcurrentTasksTest Then both routes use the same scheduler with the name foo, and its configured to have 2 concu