oscerd opened a new pull request, #24854: URL: https://github.com/apache/camel/pull/24854
## Description Fixes [CAMEL-24194](https://issues.apache.org/jira/browse/CAMEL-24194). `AWSConfigProducer.removeConformancePack` guarded on the `CamelAwsConformancePackName` header but read the value from `CamelAwsConfigRuleName`: ```java if (ObjectHelper.isNotEmpty(exchange.getIn().getHeader(AWSConfigConstants.CONFORMACE_PACK_NAME))) { String conformancePackName = exchange.getIn().getHeader(AWSConfigConstants.RULE_NAME, String.class); ``` So the documented `CamelAwsConformancePackName` header was ignored and the delete request was built with the (usually null) rule-name value. It now reads the value from `CONFORMACE_PACK_NAME`. The sibling `putConformancePack` already reads it correctly. ## Tests Adds `AWSConfigRemoveConformancePackTest` — captures the `DeleteConformancePackRequest` and asserts it uses the conformance-pack-name header even when a different `CamelAwsConfigRuleName` header is present (the old code would have used the rule name). ## Backport Same code on `camel-4.18.x` and `camel-4.14.x`; will be backported after merge (fixVersions 4.22.0 / 4.18.4 / 4.14.9). --- _Claude Code on behalf of oscerd_ -- 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]
