Skip to content

CAMEL-23716: align RawPayloadTest header constants with renamed Salesforce headers#1833

Merged
davsclaus merged 1 commit into
apache:camel-spring-boot-4.18.xfrom
mcarlett:fix/align-cxf-salesforce-header-constants
Jun 30, 2026
Merged

CAMEL-23716: align RawPayloadTest header constants with renamed Salesforce headers#1833
davsclaus merged 1 commit into
apache:camel-spring-boot-4.18.xfrom
mcarlett:fix/align-cxf-salesforce-header-constants

Conversation

@mcarlett

Copy link
Copy Markdown
Contributor

Summary

Use SalesforceEndpointConfig.SOBJECT_ID and SalesforceEndpointConfig.SOBJECT_EXT_ID_VALUE constants instead of hardcoded literal strings "sObjectId" and "sObjectIdValue" in the camel-spring-boot RawPayloadTest.

Root Cause

CAMEL-23716 renamed Salesforce header string values from short names to CamelSalesforce-prefixed names. The plain Camel RawPayloadTest was updated in the same commit, but the camel-spring-boot copy still used the old literal strings, causing 10/39 test variants to fail when run against Camel 4.18.1 with the renamed constants.

Test plan

  • CI passes

…force headers

The CAMEL-23716 commit renamed Salesforce header string values from short
names (sObjectId, sObjectIdValue) to CamelSalesforce-prefixed names
(CamelSalesforceSObjectId, CamelSalesforceSObjectIdValue). The plain Camel
test was updated but the camel-spring-boot copy still used hardcoded literal
strings, causing 10/39 test variants to fail.

Use SalesforceEndpointConfig constants instead of literal strings.
@davsclaus davsclaus merged commit 5a789d3 into apache:camel-spring-boot-4.18.x Jun 30, 2026
2 checks passed
@mcarlett mcarlett deleted the fix/align-cxf-salesforce-header-constants branch June 30, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants