I am using an annotation based step listener as follows -

public class MyStepListener
{
@AfterProcess
public void afterProcess() throws Exception
{
// some logic
// if conditions are satisfied, throw Exception
}
}

And this listener is configured as follows -

<step id="processingStep" next="endStep">
<tasklet transaction-manager="batchTransactionManager">
<chunk reader="itemReader" processor="itemProcessor"
writer="itemWriter" commit-interval="100"
skip-limit="1000" >
</chunk>

<listeners>
<listener ref="myStepListener" />
</listeners>

</tasklet>
</step>

So is this step listener considered to be part of the "processingStep"? I ask because I wonder what handles the exception thrown from the step listener. I observed this behavior -
http://stackoverflow.com/questions/1...untering-a-non