Class ObservationPropagationChannelInterceptor

java.lang.Object
org.springframework.integration.channel.interceptor.ThreadStatePropagationChannelInterceptor<io.micrometer.observation.Observation>
org.springframework.integration.channel.interceptor.ObservationPropagationChannelInterceptor
All Implemented Interfaces:
ChannelInterceptor, ExecutorChannelInterceptor

public class ObservationPropagationChannelInterceptor extends ThreadStatePropagationChannelInterceptor<io.micrometer.observation.Observation>
The ExecutorChannelInterceptor implementation responsible for an Observation propagation from one message flow's thread to another through the MessageChannels involved in the flow. Opens a new Observation.Scope on another thread and cleans up it in the end.
Since:
6.0
Author:
Artem Bilan