Interface MessagingTracingCustomizer


public interface MessagingTracingCustomizer
This allows configuration plugins to collaborate on building an instance of MessagingTracing.

For example, a customizer can setup MessagingTracing.Builder.consumerSampler(SamplerFunction) samplers} without a reference to the tracing component.

This also allows one object to customize both Tracing, via TracingCustomizer, and the messaging layer MessagingTracing, by implementing both customizer interfaces.

Integration examples

In practice, a dependency injection tool applies a collection of these instances prior to building the tracing instance. For example, an injected List<MessagingTracingCustomizer> parameter to a provider of MessagingTracing.

Here are some examples, in alphabetical order:

Since:
5.9
See Also:
TracingCustomizer