Polling a directory for inner directories

2014-08-05 Thread jkir
Hi all, I am currently looking at the File2 processor, and it seems to me that my fairly simple use case isn't covered by this. I am a complete Camel newbie, so I am hoping someone can prove me wrong or suggest an alternative! I want to be able to watch a directory for changes, but I only want to

Re: Polling a directory for inner directories

2014-08-06 Thread jkir
Unfortunately, after digging through the source code for the FileConsumer, it seems that although most of the framework is there for matching the directories themselves, there appears to be one area preventing it from adding the directory itself to the files list for further processing. Taken from

Re: Polling a directory for inner directories

2014-08-06 Thread jkir
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. I guess i