You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2026/08/26 06:04:00 UTC

[jira] [Commented] (CAMEL-24494) camel-ibm-cos: fix typo in the CacheControl producer/consumer header name

    [ https://issues.apache.org/jira/browse/CAMEL-24494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18108182#comment-18108182 ] 

Andrea Cosentino commented on CAMEL-24494:
------------------------------------------

Fixed via PR https://github.com/apache/camel/pull/25751

_Claude Code on behalf of oscerd_

> camel-ibm-cos: fix typo in the CacheControl producer/consumer header name
> -------------------------------------------------------------------------
>
>                 Key: CAMEL-24494
>                 URL: https://issues.apache.org/jira/browse/CAMEL-24494
>             Project: Camel
>          Issue Type: Bug
>            Reporter: Andrea Cosentino
>            Assignee: Andrea Cosentino
>            Priority: Major
>             Fix For: 4.23.0
>
>
> IBMCOSConstants.CACHE_CONTROL has a typo in its header VALUE: "CamelIBMCOSContentControl" instead of "CamelIBMCOSCacheControl" (copy/paste slip from the Cache-Control metadata). The header carries the object's Cache-Control metadata (set by the consumer from ObjectMetadata.getCacheControl()). Rename the value to CamelIBMCOSCacheControl so the header name matches its purpose. This is a user-facing header-name change; document it in the 4.23 upgrade guide. The module is new in 4.x so real-world impact is minimal.
> Affected: components/camel-ibm/camel-ibm-cos (org.apache.camel.component.ibm.cos.IBMCOSConstants).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)