Hello,
I am consuming off S3 to a file system. As it start consuming, the first
object is folder in the bucket which the file component treat it as a file
rather than a directory.
any ideas? below what I have tried.
from("aws-s3://bucket?accessKey=xxxxx&secretKey=xxxxx&amazonS3Endpoint=s3-external-1.amazonaws.com&deleteAfterRead=false&prefix=atc/")
.setHeader("CamelFileName",header("CamelAwsS3Key"))
.to("file:///tmp/xx_poc2?fileName=${file:onlyname}")
--
View this message in context:
http://camel.465427.n5.nabble.com/S3-Component-bucket-in-file-name-tp5762004.html
Sent from the Camel - Users mailing list archive at Nabble.com.