java - Spring Batch step without chunk processing -
I have a job step that reads from the database and writes the output in a flat file and creates a report.
If the phase fails, I want to restart it, processing it from above to above I do not want to include any recovery in this step.
What is the best way to implement spring batch, this process does not work in any kind of processing and trigger recovery during the middle of the process << p>
Mark the job as restartable = "true" . As the mark step
allow-start-if-complete = "true" . Failure to complete the interception step execution and trail phase also.
When you restart the job, your stage will be executed.
Comments
Post a Comment