title: Spring Batch resume after server's failure
body: <p>I am using spring batch to parse files and I have the following scenario:</p>
  
  <p>I am running a job. This job has to parse a giving file. For unexpected reason (let say for power cut) the server fails and I have to restart the machine. Now, after restarting the server I want to resume the job from the point which stopped before the power cut. This means that if the system read 1.300 rows from 10.000 now have to start reading from 1.301 row.</p>
  
  <p>How can I achieve this scenario using spring batch?</p>
  
  <p>About configuration: I use spring-integration which polls under a directory for new files. When a file is arrived the spring-integration creates the spring batch job. Also, spring-batch uses FlatFileItemReader to parse the file.</p>