camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Cosentino (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (CAMEL-12121) AWS_S3 consumer unable to delect object with another S3 producer
Date Thu, 04 Jan 2018 12:02:00 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-12121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrea Cosentino reopened CAMEL-12121:
--------------------------------------

> 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
>            Assignee: Andrea Cosentino
>
> 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)

Mime
View raw message