-
Mar 11th, 2013, 08:41 AM
#1
FaultTolerantChunkProcessor problem
I still have a problem with this class.
I basically read in data, validate and write it as XML.
What I want is the following :
On ValidationException I get a Skip and a log message through my StepExcecutionListener on process, no matter if my chunk of lets say 15 is allright or all 15 throw a ValdationException.
This is my first problem if all data in my chunk are faulty I get NO message, the Listener is NOT called.
If I set the ValidationException as a <no-rollback-exception-class> for the tasklet I get my message BUT EVERY faulty item is counted twice as Filter and SkipOnProcess, which is wrong and messes up the Count for this batch.
How can I achive what I want? I tried countless ways and nothing helped me out of this mess.
Ideas anyone, pls?
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