Why does Spring batch application always output the same?

不羁的心 提交于 2020-04-18 06:13:25

问题


Below is my code snippet that I am trying to execute in Spring batch:

@Bean
public Job ioSampleJob() throws Exception {
    return this.jobBuilderFactory.get("DKSHSpringBatchApplication")
            .incrementer(new RunIdIncrementer())
            .start(step1()).next(step2())
            .next(step3()).next(step4()).build();           
}

Can anyone please help how I can execute my batch job. It was working fine initially but after several run it is just giving the old response.

来源:https://stackoverflow.com/questions/61042136/why-does-spring-batch-application-always-output-the-same

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!