Reputation: 4589
The Spring Batch documentation says:
no
<chunk/>
element should be used within the<tasklet/>
There is no further explanation and I can't imagine any. Can anybody please explain this limitation to me?
Upvotes: 2
Views: 1133
Reputation: 40036
I think you have missed something.
This piece of document is saying that, no <chunk/> element should be used within the <tasklet/>
IF you are configuring for a Tasklet step.
If you look around a bit, you will see, in order to configure a chunk-oriented step, you are in fact using <chunk/>
within a <tasklet/>
Upvotes: 3