You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "davsclaus (via GitHub)" <gi...@apache.org> on 2026/06/08 09:10:10 UTC
[PR] CAMEL-23564: Make OTEL_BAGGAGE_* headers visible in Baggage.current() without traceProcessors [camel]
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-23564: Make OTEL_BAGGAGE_* headers visible in Baggage.current() without traceProcessors [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #23846:
URL: https://github.com/apache/camel/pull/23846#issuecomment-4647885114
:star2: Thank you for your contribution to the Apache Camel project! :star2:
:robot: CI automation will test this PR automatically.
:camel: Apache Camel Committers, please review the following items:
* First-time contributors **require MANUAL approval** for the GitHub Actions to run
* You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot although they are normally detected and executed by CI.
* You can label PRs using `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR.
* Build and test logs are available in the summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary.
:warning: Be careful when sharing logs. Review their contents before sharing them publicly.
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-23564: Make OTEL_BAGGAGE_* headers visible in Baggage.current() without traceProcessors [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #23846:
URL: https://github.com/apache/camel/pull/23846#issuecomment-4648408654
<!-- ci-tested-modules -->
:test_tube: **CI tested the following changed modules:**
- `components/camel-ai/camel-langchain4j-tools`
- `components/camel-azure/camel-azure-eventhubs`
- `components/camel-google/camel-google-pubsub`
- `components/camel-opentelemetry2`
- `components/camel-telemetry`
- `components/camel-undertow`
- `core/camel-api`
- `core/camel-base-engine`
- `core/camel-core-processor`
- `core/camel-core-reifier`
- `core/camel-core`
- `core/camel-main`
- `core/camel-support`
- `docs`
- `dsl/camel-jbang/camel-jbang-core`
- `dsl/camel-yaml-dsl/camel-yaml-dsl`
> :information_source: Dependent modules were not tested because the total number of affected modules exceeded the threshold (50). Use the `test-dependents` label to force testing all dependents.
:warning: **Some tests are disabled on GitHub Actions** (`@DisabledIfSystemProperty(named = "ci.env.name")`) and require manual verification:
- `components/camel-ai/camel-langchain4j-tools`: 6 test(s) disabled on GitHub Actions
- `dsl/camel-jbang/camel-jbang-core`: 1 test(s) disabled on GitHub Actions
- `core/camel-core`: 2 test(s) disabled on GitHub Actions
:bulb: **Manual integration tests recommended:**
> You modified `dsl/camel-jbang/camel-jbang-core`. The related integration tests in `dsl/camel-jbang/camel-jbang-it` are excluded from CI. Consider running them manually:
> ```
> mvn verify -f dsl/camel-jbang/camel-jbang-it -Djbang-it-test
> ```
<details><summary>Build reactor — dependencies compiled but only changed modules were tested (16 modules)</summary>
- Camel :: AI :: LangChain4j :: Tools
- Camel :: API
- Camel :: Azure :: Event Hubs
- Camel :: Base Engine
- Camel :: Common Telemetry
- Camel :: Core
- Camel :: Core Processor
- Camel :: Core Reifier
- Camel :: Docs
- Camel :: Google :: PubSub
- Camel :: JBang :: Core
- Camel :: Main
- Camel :: Opentelemetry 2
- Camel :: Support
- Camel :: Undertow
- Camel :: YAML DSL
</details>
---
:gear: [View full build and test results](https://github.com/apache/camel/actions/runs/27127446154)
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-23564: Make OTEL_BAGGAGE_* headers visible in Baggage.current() without traceProcessors [camel]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus merged PR #23846:
URL: https://github.com/apache/camel/pull/23846
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org