-
Nov 22nd, 2012, 03:29 AM
#1
create Log for reading error in StaxEventItemReader
Hi,
I am using StaxEventItemReader and CastorMarshaller to read a XML file and this XML file contains some invalid records.
So whenever it throws a reading time exception (like UnmarshallingFailureException) , i just want to write this current faulty record to another file lets called bad.xml .
For this,i am using skiplistner implementation but i am not able to fetch error record.
Please help me to find a solution for this.
Thanks.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules