davsclaus commented on PR #29884:
URL: https://github.com/apache/camel/pull/29884#issuecomment-7060518891

   Thanks again for spotting the mismatch between the MDC pages and the 
configuration table.
   
   Since the reviews, #30233 (CAMEL-27073, camel-mdc: `customExchangeHeaders` 
and `customExchangeProperties` work on Camel Main) has been merged to `main`. 
It adds `setCustomExchangeHeaders` / `setCustomExchangeProperties` to 
`MDCService`, so these names now also work on Camel Main and the Camel CLI. It 
also makes the same doc edits as this PR in the mdc, micrometer-observability 
and telemetry-dev pages and their catalog copies. It adds a note that the older 
`customHeaders` / `customProperties` names keep working on Main.
   
   When this branch is merged onto the current `main`, the only change left is 
the log pattern line in `mdc.adoc` (and its catalog copy):
   
   ```
   %X{customHead}  ->  %X{myCustomMDCKey}
   ```
   
   On that same line, `%X{customProp}` still refers to a property that the 
example never sets (see the inline suggestion above).
   
   Two ways forward:
   
   1. Rebase onto `main` so the PR is just the log pattern fix, with 
`%X{customProp}` corrected too. Please also update the title to describe that 
change (for example `camel-mdc: fix the custom keys in the log pattern 
example`).
   2. Or close this PR, since the property names are already fixed on `main`.
   
   Either is fine.
   
   _Claude Code on behalf of davsclaus. This comment was generated by an AI 
agent and may contain inaccuracies; please verify before acting on it._
   


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