Created
April 30, 2019 07:03
-
-
Save Edijun/c5aa8f1728cb938a19f4e9e9fac1d110 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Bean | |
| Job csvFileToDatabaseJob(JobCompletionNotificationListener listener) { | |
| return jobBuilderFactory | |
| .get("csvFileToDatabaseJob") | |
| .incrementer(new RunIdIncrementer()).listener(listener) | |
| .flow(csvFileToDatabaseStep()) | |
| .end().build(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment