You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "thanos (Jira)" <ji...@apache.org> on 2021/12/20 13:22:00 UTC

[jira] [Created] (CAMEL-17358) AWS SDK2 Producer does not set the Content Type at all

thanos created CAMEL-17358:
------------------------------

             Summary: AWS SDK2 Producer does not set the Content Type at all
                 Key: CAMEL-17358
                 URL: https://issues.apache.org/jira/browse/CAMEL-17358
             Project: Camel
          Issue Type: Bug
          Components: camel-aws2
    Affects Versions: 3.14.0, 3.11.4
            Reporter: thanos


Just migrated from Camel AWS SDK1 Producer to SDK2 Producer and our unit tests break because the Content Type of the uploaded object is not set at the PutObjectRequest level but only at the ObjectMetadata object. It appears, after quick comparison between SDK1 and SDK2 that in SDK1 AWS-SDK was happy to take the content type from the metadata while now it expects it to be in the PutObjectRequest field.

 

A test case will be uploaded shortly to demonstrate the bug



--
This message was sent by Atlassian Jira
(v8.20.1#820001)