Announcement Announcement Module
Collapse
No announcement yet.
create Log for reading error in StaxEventItemReader Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.
Working...
X