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

   Backports #23469 to `camel-4.18.x`.
   
   Cherry-pick of merge commit `2371b7fd582` with one adaptation: the original
   PR's upgrade-guide entry was added to `camel-4x-upgrade-guide-4_21.adoc`,
   which does not exist on the 4.18.x maintenance branch. Per the project's
   backport policy the same content has been added to
   `camel-4x-upgrade-guide-4_18.adoc` instead.
   
   ## Summary
   
   Renames the two Exchange header string values in `ArangoDbConstants` that 
were
   **not** in the `Camel` namespace (and therefore not filtered by the default
   `HeaderFilterStrategy`) to `CamelArangoDb<Name>`:
   
   | Constant | Previous value | New value |
   |----------|----------------|-----------|
   | `ArangoDbConstants.ARANGO_KEY` | `key` | `CamelArangoDbKey` |
   | `ArangoDbConstants.RESULT_CLASS_TYPE` | `ResultClassType` | 
`CamelArangoDbResultClassType` |
   
   The Java field names are unchanged so routes referencing the constants
   symbolically continue to work; routes using the literal string values must be
   updated.
   
   `MULTI_UPDATE`, `MULTI_INSERT`, `MULTI_DELETE`, `AQL_QUERY`,
   `AQL_QUERY_BIND_PARAMETERS`, `AQL_QUERY_OPTIONS` were already 
`Camel`-prefixed
   and are unchanged.
   
   DSL accessor renames: `key()` → `arangoDbKey()`,
   `resultClassType()` → `arangoDbResultClassType()`.
   
   ## Test plan
   
   - [x] `mvn test` in `components/camel-arangodb` on the 4.18.x branch — passes
   - [x] Cherry-pick applied cleanly except for the 4_21 → 4_18 guide-file
         rename described above (no merge marker shipped)
   - [x] Upgrade-guide entry added under `=== camel-arangodb - potential
         breaking change` in `camel-4x-upgrade-guide-4_18.adoc`, immediately
         before the existing `=== camel-web3j` backport entry
   
   Tracker: CAMEL-23577
   
   _Reported by Claude Code on behalf of Andrea Cosentino_


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