On Wed, Aug 6, 2014 at 12:03 PM, jkir <james.kirr...@baesystems.com> wrote:
> Ok thank you Claus, do you happen to know why this isn't supported? It seems
> like it should be fairly simple to enable support for and I imagine it's a
> pretty common use case. If there's nothing preventing it from being included
> then I could hopefully get round to writing a patch for it.
>

Its trickier as file/ftp etc components rely on files. So if suddenly
its a directory, then many of the options do not apply for noop /
delete / move / read locks / and whatnot.
And the 99,98% use-case is for people to work with the files.

If you want to monitor for directory creations then use some api from
java. Java 7 has nio2 which has better api for that.


> I guess it should have been obvious that the File Consumer was only for
> files, but then I guess I was going by Java's definition of a 'File', which
> includes directories.
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Polling-a-directory-for-inner-directories-tp5754812p5754843.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
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