On Mon, Jul 23, 2012 at 2:54 AM, billy ding <dingq...@gmail.com> wrote:
> Hi, from http://camel.apache.org/seda.html, we can use DSL to add thread pool
> to SEDA, e.g. from("seda:stageName").thread(5).process(...),

This is not really possible. Please read the docs again.
The seda has its own internal fixed thread pool, you cannot
re-configure. You set the option concurrentConsumers=5 on the seda uri
to indicate 5 threads.

 to SEDA, e.g. from("seda:stageName?concurrentConsumers=5").process(...),


> can anyone tell me how to do the same thing using xml?
> I have a xml seda route definition.
> <camel:from uri="seda:asyncAuthenticate" />
> <camel:to uri="bean:authenticateBean?method=performIndempotentOperations" />
>
> Thanks a lot.
> Billy
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Add-thread-pool-configuration-for-SEDA-using-xml-tp5716324.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to