Results 1 to 2 of 2

Thread: ItemOrientedTasklet - Extend or Advice?

  1. #1

    Default ItemOrientedTasklet - Extend or Advice?

    Is it better to simply apply advice (using spring-aop) to the ItemOrientedTasklet to do your processing, or should one extend it?

    If I extend, then I need to write code to handle retries and such using my own ItemReaderRetryCallback handler (since it's private in the ItemOrientedTasklet implementation).

    Thanks.

  2. #2

    Default

    That's a very general question, so it's hard to give a useful answer. If you describe your usecase we can give suggestions.

    Btw. in M5 you can choose from ItemOrientedStep and TaskletStep.

Posting Permissions

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