Hi!
Is it possible to define an upper limit of concurrent executing threads when using a taskExecutor with batch:chunk?
Using batch 2.0.3
Hi!
Is it possible to define an upper limit of concurrent executing threads when using a taskExecutor with batch:chunk?
Using batch 2.0.3
There is a throttle limit in the step factory bean (and also the repeat template, which is where it is actually applied). It's also exposed in the <chunk/> element of the namespace (I think).
N.B. the number of threads actually running will depend on your thread pool settings. Probably in 2.1 or 3.0 we will remove the throttle limit and allow more direct control with a thread pool.
It's not available on the chunk element - I've added http://jira.springsource.org/browse/BATCH-1386 for it.
Last edited by davidkarlsen; Aug 28th, 2009 at 06:21 AM.