[ https://issues.apache.org/jira/browse/CAMEL-12121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16310897#comment-16310897 ]
Andrea Cosentino commented on CAMEL-12121: ------------------------------------------ Try with 2.18 at least. There is a fix already https://github.com/apache/camel/commit/9f16e397cb8823f9317bd08a7f0f87ee05e1d5b8 > AWS_S3 consumer unable to delect object with another S3 producer > ---------------------------------------------------------------- > > Key: CAMEL-12121 > URL: https://issues.apache.org/jira/browse/CAMEL-12121 > Project: Camel > Issue Type: Bug > Components: camel-aws > Affects Versions: 2.17.6 > Reporter: Yi Yan > > I want to move(copy+delete) some objects from one AWS S3 bucket to another, > so I created the configuration like below, the new object is copied but the > source object is not deleted as expected(deleteAfterRead=true). > {code} > from("aws-s3:source_bucket?amazonS3Client=#AWSConnection1&fileName=test1.txt&deleteAfterRead=true") > .setHeader("CamelAwsS3Key", constant("test1_copy.txt")) > .setHeader("CamelAwsS3ContentLength", constant(5)) > .to("aws-s3:target_bucket?amazonS3Client=#AWSConnection1&includeBody=false"); > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)