OPEN - issue BATCH-404: FactoryBeans for step configuration

http://jira.springframework.org/browse/BATCH-404

Replace allwaysSkip=true/false with a skipLimit.
This commit is contained in:
dsyer
2008-03-03 17:08:32 +00:00
parent 32214bf20a
commit 72017cf62b
4 changed files with 25 additions and 21 deletions

View File

@@ -16,7 +16,7 @@
<property name="restartable" value="false" />
<property name="steps">
<bean id="step1" parent="simpleStep">
<property name="alwaysSkip" value="true" />
<property name="skipLimit" value="5" />
<property name="itemReader" ref="hibernateItemReader" />
<property name="itemWriter" ref="hibernateOutputSource" />
<property name="commitInterval" value="3" />

View File

@@ -15,7 +15,7 @@
<property name="steps">
<list>
<bean id="step1" parent="simpleStep">
<property name="alwaysSkip" value="true" />
<property name="skipLimit" value="5" />
<property name="streams" ref="fileInputTemplate" />
<property name="itemReader">
<bean