Announcement Announcement Module
No announcement yet.
Infinite Skip Limit Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Infinite Skip Limit

    Hi All,
    We have business scenario like, if any business exception occurs, the current item need to rollback and continue with the next item. We don't know how many items will come at runtime so skip limit set to some 100 is not appropriate.

    If all the records throw business exception, our batch need to skip all the items and completes successfully.

    How to handle this?
    Thanks for your reply in advance.

  • #2
    Configure a different SkipPolicy instead of the LimitCheckigItemSkipPolicy (which is what is configured when you set the skip-limit). See the javadoc/classes for the implementations.