spring-batch icon indicating copy to clipboard operation
spring-batch copied to clipboard

Ordering of ChunkListeners does not work in 2.1.9 due to new TerminateOnExceptionChunkListenerDelegate [BATCH-1991]

Open spring-projects-issues opened this issue 12 years ago • 1 comments
trafficstars

Tobias Flohre opened BATCH-1991 and commented

In Spring Batch 2.1.9 a TerminateOnExceptionChunkListenerDelegate was introduced in the FaultTolerantStepFactoryBean. Every ChunkListener now gets wrapped into that Delegate. Unfortunately the ordering information is lost then, because the Delegate of course never implements the Ordered interface, no matter if the underlying ChunkListener implements Ordered or not. The CompositeChunkListener checks on the Delegates.


Affects: 2.1.9

spring-projects-issues avatar Apr 09 '13 04:04 spring-projects-issues

Thank you for opening the issue. Can you retry with the latest release of Spring Batch(5.0.2) and report back the results?

If the issue is still present, Can you provide a sample project that uses the latest release of Spring Batch and that exhibits the behavior? To help you in reporting your issue, we have prepared a project template that you can use as a starting point. Please check the Issue Reporting Guidelines for more details about this.

cppwfs avatar Jul 20 '23 13:07 cppwfs