Hi,

I set-up a route with the following consumer URI:
from("file:///tmp/junit6150402493774267253/in?initialDelay=500")...

At one point in the log I get the following information:
2015/12/16 18:11:26,278 GMT+0100 FINE [org.apache.camel.impl.DefaultScheduledPollConsumerScheduler] : Scheduling poll (fixed delay) with initialDelay: 500, delay: 500 (milliseconds) for: Endpoint[file:///tmp/junit6150402493774267253/in?initialDelay=500] 2015/12/16 18:11:26,282 GMT+0100 INFO [org.apache.camel.impl.DefaultCamelContext] : Route: route3 started and consuming from: Endpoint[file:///tmp/junit6150402493774267253/in?initialDelay=500]

Just after starting it, I simply move a file into the following directory.

Then more or less 500ms after the first log, later there is the first poll:
2015/12/16 18:11:26,910 GMT+0100 FINE [org.apache.camel.component.file.FileConsumer] : Took 0.006 seconds to poll: /tmp/junit6150402493774267253/in

And then after that, 3 seconds later, I get this message (which according to the code is logged before the Exchange are sent…) 2015/12/16 18:11:29,191 GMT+0100 FINE [org.apache.camel.component.file.FileConsumer] : Total 1 files to consume

How come 3 seconds passes before the exchange is sent into the route?

Thank you for your help (I'm using Camel 2.16.0).

Reply via email to