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/18 14:41:48 UTC
[PR] CAMEL-23789: Replace Java constant references with string header names in component docs [camel]
davsclaus opened a new pull request, #24117:
URL: https://github.com/apache/camel/pull/24117
## Summary
- Replace `XxxConstants.FIELD` Java constant references with their actual string header names (e.g. `"CamelKafkaPartitionKey"`) across 64 component documentation files
- Makes documentation multi-DSL friendly so XML and YAML DSL users don't need to know Java imports to understand header names
- Also replaces Java enum references (e.g. `HazelcastOperation.PUT` → `"put"`, `SolrOperation.INSERT` → `"INSERT"`) and URI prefix constants (e.g. `HazelcastConstants.MAP_PREFIX` → inline `hazelcast-map:`)
- Improves AI training data quality by using universal string names instead of Java-specific constant references
Components affected: caffeine, camunda, consul, crypto, cyberark-vault, digitalocean, elasticsearch, geocoder, git, hazelcast (7 sub-components), hl7, ignite, influxdb, influxdb2, jaxb, jcr, jms, jsonpath, jt400, kafka, keycloak, kubernetes (18 sub-components), lucene, metrics, micrometer, mina, minio, netty, opentelemetry-metrics, paho, paho-mqtt5, platform-http, robotframework, rocketmq, sap-netweaver, shiro, solr, splunk-hec, ssh, stitch.
## Test plan
- [ ] Verify no remaining `Constants.` references in component docs (except valid class name references like `MimeConstants.java`)
- [ ] Verify string header names match the values in the corresponding `*Constants.java` files
- [ ] Documentation-only change, no code changes
_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-23789: Replace Java constant references with string header names in component docs [camel]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus merged PR #24117:
URL: https://github.com/apache/camel/pull/24117
--
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-23789: Replace Java constant references with string header names in component docs [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #24117:
URL: https://github.com/apache/camel/pull/24117#issuecomment-4743103095
: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