[ 
https://issues.apache.org/jira/browse/CAMEL-15714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17423920#comment-17423920
 ] 

Julien Greffe commented on CAMEL-15714:
---------------------------------------

Thanks [~acosentino], [~jbonofre],

so we keep this code:
{code}
if (!getConfiguration().isIgnoreBody()) {
            if (getConfiguration().isIncludeBody()) {
                try {
                    message.setBody(IoUtils.toByteArray(s3Object));
{code}

and not :
{code}
if (!getConfiguration().isIgnoreBody()) {
            if (getConfiguration().isIncludeBody()) {
                try {
                    message.setBody(s3Object);
{code}

?

>From the Java comment, {{includeBody}} is now about *stream* closing or not:
https://github.com/apache/camel/blob/20da341b13abaff1e5d0523db841a0bac3d77df8/components/camel-aws/camel-aws2-s3/src/main/java/org/apache/camel/component/aws2/s3/AWS2S3Configuration.java#L267-L274

> 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)

Reply via email to