Is there any way to make a job stop and resume from the same point in Spring Batch? (Dynamically not statically)
Maybe launching a new job that would stop the current one? Has anybody ever done something similar?
Is there any way to make a job stop and resume from the same point in Spring Batch? (Dynamically not statically)
Maybe launching a new job that would stop the current one? Has anybody ever done something similar?
Should be a matter of calling JobExecution::stop()
and then re-run it with the same set of parameters. See this gist.