Hi,

This will write the file present in directory sample to checkoutputdir1
from("file:///home/ram/sample/")
.to("file:///home/ram/checkoutputdir1/");

My use case is to push to s3
from("file:///home/ram/sample/")
.setHeader(S3Constants.KEY, simple("check5"))
.to("aws-s3://camel-qq?accessKey=&secretKey=");

But when i do this, it gets overwritten in 'check5'. Is there a way to get
the exact file name in s3 as present in /home/ram/sample/

Thanks

Reply via email to