I have created a spring batch job with spring boot using below tutorial:
https://spring.io/guides/gs/batch-processing/
The job is reading a file and writing to a database as expected.
However, now I have a use case to run this job multiple times.
I have an ArrayList
of parameters.
What changes should I do to the job so that I can run the job the number of times the size of my ArrayList
?