See how Spring Boot Batch Application saves an XML to the database and moves error/success files to error/success folder and archives error/success files.
This example covers multiple Spring Batch concepts that we need in most of our daily routine batch job implementations.