oscerd opened a new pull request, #25751:
URL: https://github.com/apache/camel/pull/25751

   # CAMEL-24494: fix the typo in the IBM COS Cache-Control header name
   
   `IBMCOSConstants.CACHE_CONTROL` carried the misspelled value 
`"CamelIBMCOSContentControl"` (a copy/paste slip from the neighbouring 
`Content-*` headers) instead of `"CamelIBMCOSCacheControl"`, even though the 
header holds the object's **Cache-Control** metadata (set by the consumer from 
`ObjectMetadata.getCacheControl()`).
   
   ## Fix
   
   Rename the header value to `CamelIBMCOSCacheControl` so the name matches its 
purpose. The generated component descriptors (component JSON, catalog JSON, 
endpoint-DSL factory) are regenerated accordingly.
   
   This is a user-facing header-name change, documented in the 4.23 upgrade 
guide: routes referencing the old name as a literal string must switch to 
`CamelIBMCOSCacheControl`; routes using the `IBMCOSConstants.CACHE_CONTROL` 
constant are unaffected. The module is new in the 4.x line, so real-world 
impact is minimal.
   
   ## Testing
   
   Metadata/constant change; verified with a full-reactor build so all 
generated descriptors are regenerated and committed.
   
   ---
   _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]

Reply via email to