PDA

View Full Version : How can i change the throttle limit



mkspring
Aug 7th, 2010, 06:05 PM
Hi,

I was trying to increase the throttle limit in my batch job, but i got the error..

Here is my job config..

<job id="testJob">

<step id="step1">
<tasklet>
<chunk task-executor="taskExecutor" reader="testsReader" processor="testsProcessor" writer="testWriter" commit-interval="25"/>

</tasklet>

</step>
</job>

How can i change the throttle limit... Please suggest me..


Thanks in advance...

Regards,
MK

Dave Syer
Aug 8th, 2010, 04:06 AM
What version of Spring Batch are you using? I believe recent versions have throttle-limit as an attribute of the <tasklet/> element.