Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-17358

AWS SDK2 Producer does not set the Content Type at all

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.11.4, 3.14.0
    • 3.11.6, 3.14.1, 3.15.0
    • camel-aws2
    • Unknown

    Description

      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

      Attachments

        1. camelbug17358.zip
          15 kB
          thanos

        Issue Links

          Activity

            People

              acosentino Andrea Cosentino
              agelatos@gmail.com thanos
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: