-
Feb 9th, 2010, 05:38 PM
#1
Disable Retry in Spring Batch not working
In my current implementation my item writer nests transactions. So problem in the call of the second method does not cause the rollback of the first method transaction.
However exception thrown by the second method results in the Spring Batch to retry and hence results in the duplicates being posted as first method in the itemwriter will also be called again.
I have set the retry-limit to zero. But it does not seem to be working. Is there any reason it is not working. I want to disable retry. Also i am skipping the records for any exception thrown.
Thanks a lot.
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