Hi What version of Camel do you use?
On Thu, Jan 22, 2015 at 3:26 AM, aidatechinc <[email protected]> wrote: > 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. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/
