I m using spring boot with camel . I have the following route configured :
from("file://C:/LOGS/HTTPBESample?delay=1000&recursive=true&noop=true").process(new Processor() {
public void process(Exchange msg) {
File file = msg.getIn().getBody(File.class);
LOG.info("Processing file: " + file.getName()+" file size "+file.length());
rocessing file: " + s);
}
});
However it runs only once , delay should work like a poller which isnt happening ?