Ok, that's great !
Last question (I hope
). If I understand, I have two create two jobs.
The first one will be the one launched by the JobLauncher during the loop.
The second one will be the one called in command line for launching the process. Am I right ?
Then, the second job will do nothing I guess as everything will be done in the JobLauncher et the other jobs.
So, does SpringBatch allows me to create an empty job such as:
Code:
<batch:job id="myEmptyJob" />
<batch:job id="myUsefulJob">
<batch:step id="myStep">
...
</batch:step>
</batch:job>