0
votes

I have Spring Batch read records form XML file and write in to csv file.I need example for, if suppose exception occurred for reading i need to write those records in separate file.

I need any example for writing Exception records with one file along with processed records in another file.

can anyone help on this????

1

1 Answers

0
votes

You can implement ItemListenerSupport. You can find some useful examples here