camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ram kumar <ramkumarro...@gmail.com>
Subject query file to s3
Date Tue, 09 Jun 2015 05:13:37 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message