Ex
executor.initialize();
return new LazyTraceExecutor(this.beanFactory, executor);
}
-}Spring Cloud Sleuth integrates with Spring Integration.
+}
Features from this section can be disabled by setting the spring.sleuth.messaging.enabled property with value equal to false.
Spring Cloud Sleuth integrates with Spring Integration.
It creates spans for publish and subscribe events.
To disable Spring Integration instrumentation, set spring.sleuth.integration.enabled to false.
You can provide the spring.sleuth.integration.patterns pattern to explicitly provide the names of channels that you want to include for tracing.
By default, all channels are included.
![[Important]](images/important.png)
Important When using the Executor to build a Spring Integration IntegrationFlow, you must use the untraced version of the Executor.
Decorating the Spring Integration Executor Channel with TraceableExecutorService causes the spans to be improperly closed.
We instrument the RabbitTemplate so that tracing headers get injected
-into the message.
To block this feature, set spring.sleuth.messaging.enabled to false.
We instrument the Spring Kafka’s ProducerFactory and ConsumerFactory
+into the message.
To block this feature, set spring.sleuth.messaging.rabbit.enabled to false.
We instrument the Zuul Ribbon integration by enriching the Ribbon requests with tracing information.
+Producer and Consumer.
To block this feature, set spring.sleuth.messaging.kafka.enabled to false.