OPEN - issue BATCH-1240: ItemStream is not registered when defined in step scope

Added test cases.
This commit is contained in:
dsyer
2009-05-13 11:11:48 +00:00
parent 5682027e48
commit d6c6d1ba05
2 changed files with 66 additions and 17 deletions

View File

@@ -88,7 +88,7 @@
</beans:property>
</beans:bean>
<beans:bean id="fileItemReader" class="org.springframework.batch.item.file.FlatFileItemReader">
<beans:bean id="fileItemReader" class="org.springframework.batch.item.file.FlatFileItemReader" scope="step">
<beans:property name="resource" value="classpath:data/tradeJob/input/20070122.teststream.ImportTradeDataStep.txt" />
<beans:property name="lineMapper">
<beans:bean class="org.springframework.batch.item.file.mapping.DefaultLineMapper">