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: 
http://camel.465427.n5.nabble.com/Add-thread-pool-configuration-for-SEDA-using-xml-tp5716324p5716536.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to