oscerd opened a new pull request, #23635: URL: https://github.com/apache/camel/pull/23635
## Backport of #23594 to `camel-4.14.x` Cherry-pick of #23594 (`CAMEL-23629`) onto `camel-4.14.x`, part of the [CAMEL-23577](https://issues.apache.org/jira/browse/CAMEL-23577) header-naming sweep. Target release: **4.14.8**. **Original PR:** #23594 — CAMEL-23629: camel-irc - align Exchange header constant names with Camel naming convention **Jira:** https://issues.apache.org/jira/browse/CAMEL-23629 **4.18.x backport:** #23616 (merged) ### Constants renamed | Constant | Previous value | New value | |---|---|---| | `IrcConstants.IRC_MESSAGE_TYPE` | `irc.messageType` | `CamelIrcMessageType` | | `IrcConstants.IRC_TARGET` | `irc.target` | `CamelIrcTarget` | | `IrcConstants.IRC_SEND_TO` | `irc.sendTo` | `CamelIrcSendTo` | | `IrcConstants.IRC_USER_KICKED` | `irc.user.kicked` | `CamelIrcUserKicked` | | `IrcConstants.IRC_USER_HOST` | `irc.user.host` | `CamelIrcUserHost` | | `IrcConstants.IRC_USER_NICK` | `irc.user.nick` | `CamelIrcUserNick` | | `IrcConstants.IRC_USER_SERVERNAME` | `irc.user.servername` | `CamelIrcUserServername` | | `IrcConstants.IRC_USER_USERNAME` | `irc.user.username` | `CamelIrcUserUsername` | | `IrcConstants.IRC_NUM` | `irc.num` | `CamelIrcNum` | | `IrcConstants.IRC_VALUE` | `irc.value` | `CamelIrcValue` | ### Compatibility Java field names are unchanged — routes referencing the constants symbolically keep working. Routes using the literal `irc.*` string values must move to `CamelIrc*`. ### Backport notes - Only cherry-pick conflict: the upgrade-guide file. The source commit edits `camel-4x-upgrade-guide-4_21.adoc` (absent on `camel-4.14.x`). Per the sweep convention, that hunk was dropped and the equivalent **"camel-irc - potential breaking change"** entry (rename table + cross-transport `HeaderFilterStrategy` note) was added to `camel-4x-upgrade-guide-4_14.adoc`, in the `Upgrading from 4.14.7 to 4.14.8` section alongside the sibling sub-task entries. The canonical 4_14 guide on `main` is doc-synced separately as part of CAMEL-23577. - All code / catalog / endpoint-DSL files cherry-picked cleanly; `IrcConstants` on 4.14.x is not `@Deprecated` (deprecation is 4.21-only). ### Local build Full reactor `mvn clean install -DskipTests` on `camel-4.14.x` — green (11810 goals, 10275 executed, 1535 cached), no uncommitted regen drift. _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]
