我的弹簧批定义如下。
1)Step1,Step2,Step3和Step4使用split并行运行。 2)希望根据以下条件触发另一个拆分。
步骤5-步骤1,步骤2和步骤3完成后。 step6-步骤1,步骤2和步骤4完成后
<job id="job1">
<split id="splitForSet_A" task-executor="taskExecutor" next="splitForSet_B">
<flow><step id="step1" parent="s1"/></flow>
<flow><step id="step2" parent="s2"/></flow>
<flow><step id="step3" parent="s3"/></flow>
<flow><step id="step4” parent="s4”/></flow>
</split>
<another split>
<flow><step id="step5” /></flow> — This is should start once step1 ,step2 and step3 are completed.
<flow><step id="step6” /></flow> — This should start once the step1,step2 and step4 are completed.
</another split>