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

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -