Java 使用spring批处理并行执行作业
我有一个用例,如下所示:Java 使用spring批处理并行执行作业,java,spring,spring-batch,Java,Spring,Spring Batch,我有一个用例,如下所示: 1)There is a Parentjob which has multiple child jobs. 2)All child jobs should be executed in parallel. 3)The parent job should wait until all child jobs are done. 4)One child jobs are done control returns to master 5)Master job is comple
1)There is a Parentjob which has multiple child jobs.
2)All child jobs should be executed in parallel.
3)The parent job should wait until all child jobs are done.
4)One child jobs are done control returns to master
5)Master job is completed.
6)In case any of the child job throws exception then also control should return to master job
使用spring批处理是否可以实现这一点
编辑:我不希望并行执行作业的多个步骤。但是并行执行同一父级的多个子作业可能是类似的吗