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

Andrea Cosentino commented on CAMEL-17232:
------------------------------------------

I think we could change this stuff maybe, but it's just a matter of fixing the 
documentation. The point was being able to consume only the metadata and not 
the content of the S3 object, in case ignoreBody was true. By the way, for the 
moment let me revert

> AWS 2 S3 Body is null with includeBody=false (3.13.0 regression)
> ----------------------------------------------------------------
>
>                 Key: CAMEL-17232
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17232
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-aws2
>    Affects Versions: 3.13.0
>         Environment: Java: 17 Azul OpenJDK
> Quarkus: 2.5.0.Final
> Camel 3.13.0
>  
>            Reporter: Vladimir Konkov
>            Assignee: Andrea Cosentino
>            Priority: Major
>              Labels: AWS
>             Fix For: 3.14.0
>
>
> According to docs:
> If false the S3Object *stream will be put raw into the body* and the headers 
> will be set with the S3 object metadata. This option is strongly related to 
> autocloseBody option. In case of setting includeBody to true because the 
> S3Object stream will be consumed then it will also be closed, while in case 
> of includeBody false then it will be up to the caller to close the S3Object 
> stream. However setting autocloseBody to true when includeBody is false it 
> will schedule to close the S3Object stream automatically on exchange 
> completion.
>  
> This will broke all body streaming cases, so component becomes useless for 
> large objects.
> Broken by commit:
> [https://github.com/apache/camel/commit/ad296097c48558ffdf938fd8646bbeb6e7fd6320]
>  
> Please, revert it.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to