2013-10-13 5 views
2
평행

에서 작업을 실행하도록 스프링 배치를 사용 :다음 I가 사용 사례가

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 

스프링 배치하여이 가능한가?

편집 : 그런

병렬

답변

0

아마 뭔가 같은 부모의 parellel.But 여러 하위 작업에 작업의 여러 단계를 실행하기 위해 찾는 게 있습니까?

  1. 이 작업에 청크 태스크 릿을 추가 작업
  2. 을 만듭니다.
    1. 리더 10 개 스레드는
  3. 실행을 작업 실행 및 스레드 풀이 덩어리를 시작하는 새 작업을
  4. 프로세서를 얻을.
  5. 이익! :)
관련 문제