Hi

I would like to:

a) Poll a directory
b) Read some meta data about a file in that directory (e.g. length)

Repeat (infered by the Poll) i.e. just watching out for filemeta data
changing over time.

I though this would work.

                        camelContext.addRoutes(new RouteBuilder() {
                                public void configure() throws Exception {
                                        from("file://" + HOME_DIR
+"/temp/?noop=true&recursive=true&delay=" + POLL_DELAY)
                                        .process(new MetaConsumerProcessor());  
                                
                                }
                        });

However a file in the directroy "file://" + HOME_DIR +"/temp/" is only
processed once no matter howmany time it is polled.

Thoughts anyone?

Reply via email to