-
Feb 20th, 2013, 02:26 AM
#1
get line number and filename in itemProcessor
Hi,
I am new in spring batch. I am using spring batch to parse my files. I want to log to an error_log file the ValidationExceptions which can occur from ItemProcessor. My problem is that after mapping the contents of row with object I can not find any connection between the row of file and created object.
So, I want the number of the line and the file name as the format of error_log file is:
line: <number_of_line> filename: <The_name_of_file> row: <the_row_which_caused_the_validatiodException>
Thank you
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