[
https://issues.apache.org/jira/browse/CAMEL-12256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16360713#comment-16360713
]
Andrea Cosentino commented on CAMEL-12256:
------------------------------------------
I'll add an header for userMetadata with the Map from the
S3Object.getMetadata.getUserMetadata
> 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.19.2, 2.20.1
> Reporter: Noel Vinod Aranha
> Assignee: Andrea Cosentino
> Priority: Major
>
> 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)