Why is my Spring Batch job not exiting after completion
问题 My batch job is configured as follows @Bean("MyJob") public Job umpInpatientCensusRptBatchJob(...) throws IOException { return jobBuilderFactory.get( "MyJob" ) .incrementer( new RunIdIncrementer() ) .start( Step0 ).on( COMPLETE ).end() .from( Step0 ).on( CONTINUE ) .to( Step1 ) .next( Step2 ) .next( Step3 ) .end() .build(); } where Steps 0, 1, and 3 are tasklets. My Job is completing with the message Job: [FlowJob: [name=MyJob]] completed with the following parameters . However, it doesn't