Apr 28th, 2011, 09:00 AM
@AfterStep vs. promotion listener
one little question regarding the transport of content from one step to another:
Intentionally, I defined a @AfterStep method pushing the required content into the StepExecution Context with the expectation, that the promotion listener would fire afterwards. This is obviously not the case, since it does have no effect. The listener has already executed when entering the @AfterStep method, which is, hm, not exactly what I expected it to do within writers or processors.
So: is this a bug or a feature?? Any other suggestions?