Hi

You can likely try using the flattern=true option on the file component
http://camel.apache.org/file2

On Fri, May 8, 2015 at 4:16 PM, aidatechinc <[email protected]> wrote:
> Hello,
>   Is there a way to only get the fileName being consumed from S3 without the
> folder name?  Example:
>
> bucket:folder/file1
> bucket:folder/file2
>
> when I set prefix to folder/   the camelawskey  has the folder name included
> as well. which when it lands on the filesystem, it will create a folder and
> then the file1.
>
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/s3-component-file-name-tp5766870.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/

Reply via email to