Announcement Announcement Module
Collapse
No announcement yet.
How to ensure that Spring Batch never retries no matter where an exception is thrown? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #2
    Ok, I found the answer in another thread. You have to set processor-transactional="false" in the <chunk> element of the <step>.

    Comment

    Working...
    X