Feb 28th, 2008, 10:55 AM
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).
Feb 29th, 2008, 10:41 AM
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.