Re: Add thread pool configuration for SEDA using xml

2012-07-26 Thread billy ding
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 concurren

Re: Add thread pool configuration for SEDA using xml

2012-07-26 Thread Willem Jiang
Once you specify the seda endpoint with the URI, you cannot change the setting. If you want to change the endpoint setting of route dynamically, you need to stop the route first and add a new route with the new configuration then. On Thu, Jul 26, 2012 at 9:01 AM, billy ding wrote: > Hi Claus, >

Re: Add thread pool configuration for SEDA using xml

2012-07-25 Thread billy ding
Hi Claus, Thanks for your reply. So can we conclude, if we use xml configuration for seda, we can't have a thread pool which can increase/shrink dynamically at runtime, is that right? Thanks. Billy -- View this message in context: http://camel.465427.n5.nabble.com/Add-thread-pool-configurati

Re: Add thread pool configuration for SEDA using xml

2012-07-22 Thread Claus Ibsen
On Mon, Jul 23, 2012 at 2:54 AM, billy ding 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 poo