You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "oscerd (via GitHub)" <gi...@apache.org> on 2026/05/22 08:54:26 UTC

[PR] [backport camel-4.18.x] CAMEL-23574: camel-dns - align Exchange header constant names with Camel naming convention [camel]

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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [backport camel-4.18.x] CAMEL-23574: camel-dns - align Exchange header constant names with Camel naming convention [camel]

Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd merged PR #23459:
URL: https://github.com/apache/camel/pull/23459


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