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

   JIRA: [CAMEL-27073](https://issues.apache.org/jira/browse/CAMEL-27073)
   
   - Camel Main binds `camel.mdc.*` on `MDCService`. The main metadata, 
main.adoc and the mdc.adoc table list `camel.mdc.customExchangeHeaders` and 
`camel.mdc.customExchangeProperties` (the names Spring Boot and Quarkus use), 
but `MDCService` only had `customHeaders` and `customProperties`, so these 
options failed startup with a `PropertyBindingException` (or did nothing with 
`autoConfigurationFailFast=false`).
   - `MDCService` now has `customExchangeHeaders` and 
`customExchangeProperties`, which set the same values as `customHeaders` and 
`customProperties`. The old names keep working (Spring Boot and Quarkus call 
`setCustomHeaders` / `setCustomProperties`).
   - mdc.adoc, micrometer-observability.adoc and telemetry-dev.adoc now use 
`customExchangeHeaders` / `customExchangeProperties`; mdc.adoc says the older 
names also work on Camel Main and Camel JBang.
   
   Tests: `MDCMainConfigurationTest` (camel-mdc, new test-scoped `camel-main` 
dependency). The two `customExchange*` tests fail on main with 
`PropertyBindingException` and pass with the fix; the `customHeaders` / 
`customProperties` control passes on both. All 13 camel-mdc tests pass.
   
   No upgrade guide entry: the documented options now work, nothing changes for 
configurations that worked.
   
   _Claude Code on behalf of Federico Mariani_
   


-- 
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