davsclaus opened a new pull request, #23846:
URL: https://github.com/apache/camel/pull/23846

   ## Summary
   
   - `TraceProcessorsOtelInterceptStrategy` now also reads `OTEL_BAGGAGE_*` 
exchange headers (in addition to `CamelBaggage_*` properties) when setting up 
the processor scope, so baggage set via `.setHeader("OTEL_BAGGAGE_X", ...)` is 
visible in `Baggage.current()` inside subsequent processors without requiring 
`traceProcessors=true`.
   - Adds a test (`BaggageHeaderWithoutProcessorSpansTest`) that reproduces the 
exact scenario from the issue: setting an `OTEL_BAGGAGE_BusinessReference` 
header and verifying it's accessible via `Baggage.current()` with the default 
`traceProcessors=false` setting.
   
   **Depends on:** #23843 (CAMEL-23709)
   
   ## Test plan
   
   - [x] New `BaggageHeaderWithoutProcessorSpansTest` passes — verifies 
`OTEL_BAGGAGE_*` headers are visible in `Baggage.current()` without 
`traceProcessors=true`
   - [x] All 27 existing `camel-opentelemetry2` tests pass
   - [x] Existing `BaggageSettingTest` (using `CamelBaggage_*` properties with 
`traceProcessors=true`) still passes
   
   _Claude Code on behalf of Claus Ibsen_
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to