This is an automated email from the ASF dual-hosted git repository.

Croway pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 0e98c8336b39 CAMEL-23564: Document traceProcessors
0e98c8336b39 is described below

commit 0e98c8336b39ac86f28b3db56e9dd3141b4b8de7
Author: Croway <[email protected]>
AuthorDate: Thu May 21 13:54:08 2026 +0200

    CAMEL-23564: Document traceProcessors
---
 components/camel-opentelemetry2/src/main/docs/opentelemetry2.adoc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/components/camel-opentelemetry2/src/main/docs/opentelemetry2.adoc 
b/components/camel-opentelemetry2/src/main/docs/opentelemetry2.adoc
index 15b90da6144a..30131ac05bc4 100644
--- a/components/camel-opentelemetry2/src/main/docs/opentelemetry2.adoc
+++ b/components/camel-opentelemetry2/src/main/docs/opentelemetry2.adoc
@@ -25,7 +25,7 @@ The configuration properties for the OpenTelemetry2 tracer 
are:
 |=======================================================================
 | Option | Default | Description
 |`enabled`| false | Turn the tracing on/off.
-|`traceProcessors`| false | Trace inner custom processors (i.e., any `process` 
configured in the route).
+|`traceProcessors`| false | Trace inner custom processors (i.e., any `process` 
configured in the route). When disabled, custom processors are not visible from 
the OpenTelemetry perspective and have no active span or context.
 |`disableCoreProcessors`| false | Disable any inner core processors (any core 
DSL processor provided in the route, for example `bean`, `log`, ...).
 | `excludePatterns` | | A comma-separated list of patterns (e.g., 
`log*,direct*,setBody*`) to exclude from tracing. Spans matching these patterns 
will be disabled.
 | `traceHeadersInclusion`| `false` | If set to `true`, adds the generated 
telemetry `CAMEL_TRACE_ID` and `CAMEL_SPAN_ID` Exchange headers.
@@ -252,6 +252,8 @@ For this reason, whenever you need to provide custom 
telemetry information, it i
                             @Override
                             public void process(Exchange exchange) throws 
Exception {
                                 exchange.getIn().setHeader("operation", 
"fake");
+                                // Baggage is available via the OpenTelemetry 
API
+                                String val = 
Baggage.current().getEntryValue("myValue");
                             }
                         })
                         .to("log:info");

Reply via email to