[
https://issues.apache.org/jira/browse/CAMEL-15714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17423871#comment-17423871
]
Julien Greffe commented on CAMEL-15714:
---------------------------------------
Thanks for your answer [~acosentino],
anyway, to keep the same logic as with camel-2.x, shouldn't this code:
https://github.com/apache/camel/blob/camel-3.11.x/components/camel-aws/camel-aws2-s3/src/main/java/org/apache/camel/component/aws2/s3/AWS2S3Consumer.java#L382-L392
be:
{code}
if (!getConfiguration().isIgnoreBody()) {
if (getConfiguration().isIncludeBody()) {
try {
message.setBody(s3Object);
} catch (IOException e) {
throw new RuntimeCamelException(e);
}
} else {
message.setBody(null);
}
}
{code}
?
> camel-karaf - Add camel-aws2-s3 feature
> ---------------------------------------
>
> Key: CAMEL-15714
> URL: https://issues.apache.org/jira/browse/CAMEL-15714
> Project: Camel
> Issue Type: New Feature
> Components: karaf
> Reporter: Jean-Baptiste Onofré
> Assignee: Andrea Cosentino
> Priority: Major
> Fix For: 3.13.0
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)