public class StepExecutionInterceptor
extends java.lang.Object
implements org.springframework.messaging.support.ChannelInterceptor
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.| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
STEP_EXECUTION
The name of the header 
 | 
| Constructor and Description | 
|---|
StepExecutionInterceptor()  | 
| Modifier and Type | Method and Description | 
|---|---|
org.springframework.messaging.Message<?> | 
preSend(org.springframework.messaging.Message<?> message,
       org.springframework.messaging.MessageChannel channel)  | 
public static final java.lang.String STEP_EXECUTION