You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Noel Vinod Aranha (JIRA)" <ji...@apache.org> on 2018/02/12 13:00:00 UTC

[jira] [Created] (CAMEL-12256) AWS S3 Consumer does not return custom headers in S3 Headers

Noel Vinod Aranha created CAMEL-12256:
-----------------------------------------

             Summary: AWS S3 Consumer does not return custom headers in S3 Headers
                 Key: CAMEL-12256
                 URL: https://issues.apache.org/jira/browse/CAMEL-12256
             Project: Camel
          Issue Type: Bug
          Components: camel-aws
    Affects Versions: 2.20.1, 2.19.2
            Reporter: Noel Vinod Aranha


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)