camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billy ding <>
Subject Re: Add thread pool configuration for SEDA using xml
Date Fri, 27 Jul 2012 00:29:20 GMT
Hi William,

Thanks for your reply.

Maybe I didn't describe my question clearly.

>From seda spec, it says "As for the difference between the two (Concurrent
consumers and thread pool), note a thread pool can increase/shrink
dynamically at runtime depending on load, whereas the number of concurrent
consumers is always fixed."
and we can use "from("seda:stageName").thread(5).process(...)" to configure
the thread pool for seda via DSL, so I think using DSL can make seda threads
number increase/shrink dynamically, which means it doesn't have to always be
5 concurrent consumers.
However, if you use xml, I only we can configure concurrentConsumers which
has fixed number threads (e.g. always 5 concurrent consumers), but I don't
know how to make the same effect using xml as DSL
"from("seda:stageName").thread(5).process(...)". Can someone shed some light
on this?

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message