Yi Yan created CAMEL-12121:
------------------------------

             Summary: 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).

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





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to