[backport camel-4.14.x] CAMEL-23587: camel-jt400 - align Exchange header constant names with Camel naming convention#23562
Merged
oscerd merged 1 commit intoMay 28, 2026
Conversation
83b9f97 to
a45fae0
Compare
…Camel naming convention (apache#23470) Renames the two Exchange header string values in Jt400Constants that were not in the Camel namespace (KEY, SENDER_INFORMATION) to CamelJt400<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). - KEY: "KEY" -> "CamelJt400Key" (data-queue key for keyed-data-queue read/write) - SENDER_INFORMATION: "SENDER_INFORMATION" -> "CamelJt400SenderInformation" 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). The remaining constants (MESSAGE, MESSAGE_ID, MESSAGE_FILE, MESSAGE_TYPE, MESSAGE_SEVERITY, MESSAGE_DFT_RPY, MESSAGE_REPLYTO_KEY) were already Camel-prefixed and are unchanged. The generated Endpoint DSL header accessors on Jt400HeaderNameBuilder have been renamed: kEY() -> jt400Key() and senderInformation() -> jt400SenderInformation(). All existing tests use symbolic constant references and continue to pass. Tracker: CAMEL-23577 Reported by Claude Code on behalf of Andrea Cosentino Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
a45fae0 to
812ff3e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backports #23470 to
camel-4.14.x. Standard 4_21 → 4_14 guide-file adaptation. Two header values renamed:KEY→CamelJt400Key,SENDER_INFORMATION→CamelJt400SenderInformation. mvn test passes on 4.14.x.Tracker: CAMEL-23577
Reported by Claude Code on behalf of Andrea Cosentino