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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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/>