diff --git a/docs/src/site/docbook/reference/domain.xml b/docs/src/site/docbook/reference/domain.xml
index 85701fd0a..11e3afb89 100644
--- a/docs/src/site/docbook/reference/domain.xml
+++ b/docs/src/site/docbook/reference/domain.xml
@@ -115,9 +115,9 @@
<job id="footballJob">
- <step name="playerload" next="gameLoad"/>
- <step name="gameLoad" next="playerSummarization"/>
- <step name="playerSummarization"/>
+ <step id="playerload" next="gameLoad"/>
+ <step id="gameLoad" next="playerSummarization"/>
+ <step id="playerSummarization"/>
</job>
diff --git a/docs/src/site/docbook/reference/job.xml b/docs/src/site/docbook/reference/job.xml
index 00e41a540..b87dfb1a6 100644
--- a/docs/src/site/docbook/reference/job.xml
+++ b/docs/src/site/docbook/reference/job.xml
@@ -37,9 +37,9 @@
<job id="footballJob">
- <step name="playerload" next="gameLoad"/>
- <step name="gameLoad" next="playerSummarization"/>
- <step name="playerSummarization"/>
+ <step id="playerload" next="gameLoad"/>
+ <step id="gameLoad" next="playerSummarization"/>
+ <step id="playerSummarization"/>
</job>
@@ -50,9 +50,9 @@
<job id="footballJob" job-repository="specialRepository">
- <step name="playerload" next="gameLoad"/>
- <step name="gameLoad" next="playerSummarization"/>
- <step name="playerSummarization"/>
+ <step id="playerload" next="gameLoad"/>
+ <step id="gameLoad" next="playerSummarization"/>
+ <step id="playerSummarization"/>
</job>
@@ -74,9 +74,9 @@
<job id="footballJob" restartable="false">
- <step name="playerload" next="gameLoad"/>
- <step name="gameLoad" next="playerSummarization"/>
- <step name="playerSummarization"/>
+ <step id="playerload" next="gameLoad"/>
+ <step id="gameLoad" next="playerSummarization"/>
+ <step id="playerSummarization"/>
</job>
@@ -136,9 +136,9 @@
<job id="footballJob">
- <step name="playerload" next="gameLoad"/>
- <step name="gameLoad" next="playerSummarization"/>
- <step name="playerSummarization"/>
+ <step id="playerload" next="gameLoad"/>
+ <step id="gameLoad" next="playerSummarization"/>
+ <step id="playerSummarization"/>
<listeners>
<listener class="org.springframework.batch.sample.SampleListener"/>
</listeners>
diff --git a/docs/src/site/docbook/reference/step.xml b/docs/src/site/docbook/reference/step.xml
index 81f4fc455..de4f3cb93 100644
--- a/docs/src/site/docbook/reference/step.xml
+++ b/docs/src/site/docbook/reference/step.xml
@@ -77,7 +77,7 @@
<job id="sampleJob">
- <step name="step1" job-repository="jobRepository" transaction-manager="transactionManager">
+ <step id="step1" job-repository="jobRepository" transaction-manager="transactionManager">
<tasklet reader="itemReader" writer="itemWriter" commit-interval="10"/>
</step>
</job>
@@ -139,7 +139,7 @@
<job id="sampleJob">
- <step name="step1" job-repository="jobRepository" transaction-manager="transactionManager">
+ <step id="step1" job-repository="jobRepository" transaction-manager="transactionManager">
<tasklet reader="itemReader" writer="itemWriter" commit-interval="10"/>
</step>
@@ -177,7 +177,7 @@
run infinitely. Below is an example start limit configuration:
- <step name="step1">
+ <step id="step1">
<tasklet reader="itemReader" writer="itemWriter" commit-interval="10" start-limit="1"/>
</step>
@@ -203,7 +203,7 @@
"true" overrides this so that the step will always run:
- <step name="step1">
+ <step id="step1">
<tasklet reader="itemReader" writer="itemWriter" commit-interval="10"
allow-start-if-complete="true"/>
</step>
@@ -216,15 +216,15 @@
<job id="footballJob" restartable="true">
- <step name="playerload" next="gameLoad">
+ <step id="playerload" next="gameLoad">
<tasklet reader="playerFileItemReader" writer="playerWriter"
commit-interval="10" />
</step>
- <step name="gameLoad" next="playerSummarization">
+ <step id="gameLoad" next="playerSummarization">
<tasklet reader="gameFileItemReader" writer="gameWriter"
commit-interval="10" allow-start-if-complete="true"/>
</step>
- <step name="playerSummarization">
+ <step id="playerSummarization">
<tasklet reader="playerSummarizationSource" writer="summaryWriter"
commit-interval="10" start-limit="3"/>
</step>
@@ -344,7 +344,7 @@
information, then there probably won't be issues. Usually these bad
records are logged as well, which will be covered later when discussing
listeners.
- <step name="step1">
+ <step id="step1">
<tasklet reader="flatFileItemReader" writer="itemWriter" commit-interval="10" skip-limit="10">
<skippable-exception-classes>
@@ -371,7 +371,7 @@
correct behaviour, however, in certain scenarios it may be easier to
identify which exceptions should cause failure and skip everything
else:
- <step name="step1">
+ <step id="step1">
<tasklet reader="flatFileItemReader" writer="itemWriter" commit-interval="10" skip-limit="10">
<skippable-exception-classes>
@@ -406,7 +406,7 @@
success. In this case, retry should be configured:
- <step name="step1">
+ <step id="step1">
<tasklet reader="itemReader" writer="itemWriter" commit-interval="2" retry-limit="3">
<retryable-exception-classes>
@@ -440,7 +440,7 @@
symbol will indicate that exception should not cause rollback.
- <step name="step1">
+ <step id="step1">
<tasklet reader="itemReader" writer="itemWriter" commit-interval="2" skip-limit="1"
transaction-attribute="+org.springframework.batch.item.validator.ValidationException">
</tasklet>
@@ -467,7 +467,7 @@
- <step name="step1">
+ <step id="step1">
<tasklet reader="itemReader" writer="itemWriter" commit-interval="2" skip-limit="1"
is-reader-transactional-queue="true">
</tasklet>
@@ -499,7 +499,7 @@
through the 'streams' element, as illustrated below:
- <step name="step1">
+ <step id="step1">
<tasklet reader="itemReader" writer="compositeWriter" commit-interval="2">
<streams>
<stream ref="fileItemWriter1"/>
@@ -549,7 +549,7 @@
listeners element:
- <step name="step1">
+ <step id="step1">
<tasklet reader="reader" writer="writer" commit-interval="10"/>
<listeners>
<listener ref="stepListener"/>
@@ -857,7 +857,7 @@
within the 'step':
- <step name="step1" tasklet="myTasklet" />
+ <step id="step1" tasklet="myTasklet" />
@@ -1011,9 +1011,9 @@
<job id="job">
- <step name="stepA" next="stepB" />
- <step name="stepB" next="stepC"/>
- <step name="stepC" />
+ <step id="stepA" next="stepB" />
+ <step id="stepB" next="stepC"/>
+ <step id="stepC" />
</job>
In the scenario above, 'step A' will execute first. If 'step
@@ -1081,12 +1081,12 @@
<job id="job">
- <step name="stepA">
+ <step id="stepA">
<next on="FAILED" to="stepB" />
<next on="*" to="stepC" />
</step>
- <step name="stepB" next="stepC" />
- <step name="stepC" />
+ <step id="stepB" next="stepC" />
+ <step id="stepC" />
</job>
@@ -1130,7 +1130,7 @@
job, within the samples project:
- <step name="step1">
+ <step id="step1">
<end on="FAILED" />
<next on="COMPLETED WITH SKIPS" to="errorPrint1" />
<next on="*" to="step2" />
@@ -1202,14 +1202,14 @@
"COMPLETED".
- <step name="step1">
+ <step id="step1">
<stop on="COMPLETED" to="step2"/>
</step>
- <step name="step2">
+ <step id="step2">
<next on="FOO" to="step3"/>
<end on="*" status="FAILED"/>
</step>
- <step name="step3" />
+ <step id="step3" />
@@ -1243,15 +1243,15 @@
<job id="job">
- <step name="step1" next="decision" />
+ <step id="step1" next="decision" />
<decision id="skipCheckingDecision" decider="decider">
<next on="FAILED" to="step2" />
<next on="COMPLETED" to="step3" />
</step>
- <step name="step2" next="step3"/>
- <step name="step3" />
+ <step id="step2" next="step3"/>
+ <step id="step3" />
</job>
<bean id="decider" class="com.MyDecider"/>