Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.18.0
-
None
-
Unknown
Description
The docs indicate that the CamelGoogleCloudStorageContentType header sets the content type of the object. However, this is not the case. The GoogleCloudStorageProducer class does set metadata, but it does so using the setMetadata method of BlobInfo, which only sets custom metadata. So setting the header like so:
.setHeader('CamelGoogleCloudStorageContentType', constant('text/plain'))
results in a blob stored with the attached metadata, where the Content-Type is the default application/octet-stream, and the Custom Metadata includes that set on the header.
Attachments
Attachments
Issue Links
- links to