- All Implemented Interfaces:
- org.springframework.messaging.support.ChannelInterceptor
public class StepExecutionInterceptor
extends java.lang.Object
implements org.springframework.messaging.support.ChannelInterceptor
A ChannelInterceptor that adds the current StepExecution (if
there is one) as a header to the message. Downstream asynchronous handlers
can then take advantage of the step context without needing to be step
scoped, which is a problem for handlers executing in another thread because
the scope context is not available.