-
Sep 19th, 2012, 09:47 AM
#1
How to ensure that Spring Batch never retries no matter where an exception is thrown?
I have observed that if you throw an exception from an annotated step listener, Spring Batch attempts to retry already processed items. How to configure a step so that no retries are made under ANY circumstances?
-
Sep 19th, 2012, 09:56 AM
#2
Ok, I found the answer in another thread. You have to set processor-transactional="false" in the <chunk> element of the <step>.
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