Results 1 to 2 of 2

Thread: Writing the failed records during processing...

Hybrid View

  1. #1
    Join Date
    Oct 2009
    Posts
    2

    Default Writing the failed records during processing...

    Hi All,
    Being a newbie in Spring Batch, I would like to know what would be the right approach in writing to a file all the records that failed during processing in ItemProcessor.
    I have written the code to write to a file in the onProcessError() of ItemProcessListener. Is it a right approach?

    Thanks in Advance,
    Ravi.

  2. #2
    Join Date
    Jun 2005
    Posts
    4,230

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •