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

AWS S3 Consumer does not return custom headers in S3 Headers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.19.2, 2.20.1
    • 2.19.5, 2.20.3, 2.21.0
    • camel-aws
    • None
    • Novice

    Description

      We can add custom user given metadata in AWS S3 as part of S3Headers in S3 Producer. However, the same user provided meta data cannot be retrieved via S3 Consumer.

      Amazon SDK S3 Object provides two types of meta data:

      1) Raw Meta Data
      2) User Meta Data

      In S3Endpoint.java, you can either set User Meta Data instead of Raw Meta Data for S3 Headers or provide another key like S3UserMetaData and provide this User Meta Data as value for that key.

      Currently, there seems to be no way to access this User provided custom headers using Camel.

      Attachments

        Activity

          People

            acosentino Andrea Cosentino
            noel.aranha Noel Vinod Aranha
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: