Andrea Cosentino created CAMEL-24494:
----------------------------------------

             Summary: 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
             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)

Reply via email to