oscerd opened a new pull request, #23459:
URL: https://github.com/apache/camel/pull/23459
## Backport of #23411 to `camel-4.18.x`
Cherry-pick of #23411 onto `camel-4.18.x` (fixVersion 4.18.3).
Renames the Exchange header string values in `DnsConstants` from the legacy
dotted-lowercase names to the project-wide `Camel<Component><Field>`
convention:
| Constant | Previous value | New value |
|---|---|---|
| `DnsConstants.DNS_CLASS` | `dns.class` | `CamelDnsClass` |
| `DnsConstants.DNS_NAME` | `dns.name` | `CamelDnsName` |
| `DnsConstants.DNS_DOMAIN` | `dns.domain` | `CamelDnsDomain` |
| `DnsConstants.DNS_SERVER` | `dns.server` | `CamelDnsServer` |
| `DnsConstants.DNS_TYPE` | `dns.type` | `CamelDnsType` |
| `DnsConstants.TERM` | `term` | `CamelDnsTerm` |
The Java field names are unchanged, so routes that reference the constants
symbolically keep working; routes that set the headers by literal string
value
must be updated.
### Notes for this backport
- Code, in-module tests, component doc, and regenerated artifacts (component
metadata, catalog, endpoint DSL factory) only.
- The version-specific upgrade-guide entry
(`camel-4x-upgrade-guide-4_18.adoc`)
is added on `main` via a separate doc-sync PR, per the backport
upgrade-guide policy (canonical guides live on `main`).
**Original PR:** #23411
**Original author:** @oscerd
---
_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]