Hi Jan,
this is awesome, perhaps there could be a way to add this to the file
component and have two strategies for consuming files, perhaps simply
instantiating the one consumer vs the other?

I think that way those bits would be noticed/used much more...

(2c)

zoran

On Fri, Jun 7, 2019 at 12:19 AM Jan Bednář <[email protected]> wrote:
>
> Hello,
>
> Some time ago, I have implemented NIO2 component, which allows to watch
> changes (File added, File removed, File modified) in directory, because
> I have not found any component, which allows this. Is this still true?
> As far as I know, there is only posibility to watch File added event
> with camel-file component. I can find some spare time and polish that
> code + convert it to 3.0 style (and maybe add some functionality and
> type converters from FileEvent to CamelFile) and create PR. Maybe rename
> this from camel-nio2 to camel-watchservice.
>
>
> https://github.com/bedlaj/camel-nio2
>
>
> Is this functionality desired in Apache Camel?
>


-- 
Zoran Regvart

Reply via email to