Results 1 to 3 of 3

Thread: Infinite Skip-Limits?

  1. #1
    Join Date
    Oct 2008
    Posts
    107

    Default Infinite Skip-Limits?

    Is it possible to not have a skip-limit? What if we would like the job to run to completion regardless of how many items were skipped?

    Thanks.

    Keith

  2. #2
    Join Date
    Feb 2008
    Posts
    488

    Default

    The framework does not allow infinite skip limits because it's highly unlikely that you really want your job to *always* skip. For example, if you job skips every record, then it would still be marked as COMPLETED, even though this probably indicates something serious.

    That said, you can always set your skip-limit to something unreachably high, which would be the same thing as infinite.

  3. #3
    Join Date
    Sep 2007
    Location
    London
    Posts
    12

    Default

    I also require this feature and have opened an improvement JIRA to request it with,

    http://jira.springframework.org/browse/BATCH-1425

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •