oscerd opened a new pull request, #23469:
URL: https://github.com/apache/camel/pull/23469
## 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>`, following the convention
used
across the rest of the Camel component catalog and matching the pattern
established in CAMEL-23526 (`camel-cxf`), CAMEL-23522 (`camel-mail`),
CAMEL-23461 (`camel-aws-bedrock`), CAMEL-23532 (`camel-vertx-websocket` /
`camel-atmosphere-websocket` / `camel-iggy`), and CAMEL-23576 (`camel-jira`).
| 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 (documented in the 4.21 upgrade guide).
## Already-compliant constants left unchanged
`MULTI_UPDATE`, `MULTI_INSERT`, `MULTI_DELETE`, `AQL_QUERY`,
`AQL_QUERY_BIND_PARAMETERS`, and `AQL_QUERY_OPTIONS` were already
`Camel`-prefixed.
## Generated artifacts
- `components/camel-arangodb/.../arangodb.json` + catalog mirror
- `dsl/camel-endpointdsl/.../ArangoDbEndpointBuilderFactory.java` — DSL
header
accessors renamed (`key()` → `arangoDbKey()`,
`resultClassType()` → `arangoDbResultClassType()`)
## Backports
`camel-arangodb` exists on `camel-4.18.x` and `camel-4.14.x` with the same
legacy values — backports apply and will be filed as follow-up PRs.
## Test plan
- [x] `mvn test` in `components/camel-arangodb` — passes
- [x] Module + catalog + endpointdsl built cleanly; only `camel-arangodb`
regen
artifacts included
- [x] Tests use symbolic constant references, so no test changes needed
- [x] Upgrade guide entry added under `=== camel-arangodb`
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]