Results 1 to 1 of 1

Thread: ItemWrite retry problem

  1. #1

    Default ItemWriter retry problem

    Hello.

    I've created my own ItemWriter, HTTPWriter<T> implements ItemWriter

    Everything works fine but I have problem with error handling.

    When something goes wrong within write method I would like to disable retry execution.

    I have set retry-limit="0"and retryable-exception-classes.

    My question is how to configure retry count with custom ItemWriter to disable retry ?

    retry-limit="0" doesn't work. I got error "The field 'retryable-exception-classes' is not permitted on the step [bosopstep1] because there is no 'retry-limit'."

    Regards
    Marcin
    http://itzone.com.pl
    Last edited by marcin.kasinski; Jul 5th, 2012 at 03:38 PM.

Posting Permissions

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