In Spring Batch Coverage documentation there are three inexplicable spring context maps: jobParameters , jobExecutionContext and stepExecutionContext .
Springsource sample code combined:
<bean id="flatFileItemReader" scope="step" class="org.springframework.batch.item.file.FlatFileItemReader"> <property name="var1" value="#{jobParameters['input.file.name']}" /> <property name="var2" value="#{jobExecutionContext['input.file.name']}" /> <property name="var3" value="#{stepExecutionContext['input.file.name']}" /> </bean>
What are the default options available within jobParameters , jobExecutionContext and stepExecutionContext ?
There are also likely differences between what is available in Spring Batch version 1.x versus 2.x versus 3.x - the documentation in this area is pretty scarce.
source share