BATCH-1181: <step/> element always assumes the step is a TaskletStep
This commit is contained in:
@@ -139,12 +139,14 @@
|
||||
attribute:</para>
|
||||
|
||||
<programlisting>
|
||||
<job id="sampleJob">
|
||||
<job id="sampleJob" job-repository="jobRepository">
|
||||
<step id="step1" <emphasis role="bold">parent="standaloneStep"</emphasis> />
|
||||
</job>
|
||||
|
||||
<step id="standaloneStep">
|
||||
<tasklet reader="itemReader" writer="itemWriter" commit-interval="10"/>
|
||||
<tasklet job-repository="jobRepository" transaction-manager="transactionManager">
|
||||
<chunk reader="itemReader" writer="itemWriter" commit-interval="10"/>
|
||||
</tasklet>
|
||||
</step>
|
||||
|
||||
</programlisting>
|
||||
@@ -154,7 +156,7 @@
|
||||
|
||||
<orderedlist>
|
||||
<listitem>
|
||||
<para>The Id will be used as the step name when persisting the
|
||||
<para>The id will be used as the step name when persisting the
|
||||
StepExecution. If the same standalone step is referenced in more
|
||||
than one step in the job, an error will occur.</para>
|
||||
</listitem>
|
||||
|
||||
Reference in New Issue
Block a user