andrianov17
andrianov17
What you've explained would be fully sufficient if there were no external async components involved in the tasklet execution. We use tasklet to wrap JMS call to external system, and...
Your suggestion could solve the problem, although, it requires extra boilerplate on top of business logic: - have extra field for every tasklet implementation who needs this capability - don't...
BTW, that's good that you've mentioned that stepExecution can be taken from contribution and chunkContext. Just an additional consideration for better consistency, why not pass one or both execute() methods...