Feb 6th, 2013, 03:17 AM
Generating Parallel flows dynamically in spring batch.
In my project, i have a requirement like this.
I am retrieving a certain no of records from database and partitioning into that many no of steps. and keeping each step within a flow.
Now my job is to check some condition like is that record(which i am retrieving from database and partitioning) is enabled for processing , if it is enabled then execute it within a flow.The same thing i need to repeat for all the records.
How to create these many flows dynamically depending on the input for processing is enabled or disabled???
Please help me!!!!!!!!!!!