Results 1 to 2 of 2

Thread: How to ensure that Spring Batch never retries no matter where an exception is thrown?

  1. #1
    Join Date
    Sep 2012
    Posts
    5

    Default 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. #2
    Join Date
    Sep 2012
    Posts
    5

    Default

    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
  •