@Configuration @ConditionalOnClass(value=org.springframework.integration.config.GlobalChannelInterceptor.class) @ConditionalOnBean(value=brave.Tracing.class) @AutoConfigureAfter(value=TraceAutoConfiguration.class) @OnMessagingEnabled @ConditionalOnProperty(value="spring.sleuth.integration.enabled", matchIfMissing=true) @EnableConfigurationProperties(value=SleuthMessagingProperties.class) public class TraceSpringIntegrationAutoConfiguration extends Object
Auto-configuration that registers a Sleuth version of the
ChannelInterceptor.TracingChannelInterceptor| Constructor and Description |
|---|
TraceSpringIntegrationAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.integration.channel.interceptor.GlobalChannelInterceptorWrapper |
tracingGlobalChannelInterceptorWrapper(TracingChannelInterceptor interceptor,
SleuthMessagingProperties properties) |
public TraceSpringIntegrationAutoConfiguration()
@Bean public org.springframework.integration.channel.interceptor.GlobalChannelInterceptorWrapper tracingGlobalChannelInterceptorWrapper(TracingChannelInterceptor interceptor, SleuthMessagingProperties properties)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.