I have the following spring batch job configuration. There is a single reader which then passes details to a composite writer which has two specific writers. Both writers share
You can access the stepExecutionContext only within a bean defined in the scope="step". Change your bean definition to