...
Option | Default | Description | |||||
---|---|---|---|---|---|---|---|
pollStrategy | A pluggable | ||||||
sendEmptyMessageWhenIdle | | Camel 2.9: If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead. | |||||
startScheduler | | Whether the scheduler should be auto started. | |||||
| | Milliseconds before polling the file/directory starts. | |||||
| | Initial delay in millis before first poll. | Milliseconds before the next poll of the file/directory. | ||||
|
| Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details. In Camel 2.7.x or older the default value is | delay | | Delay in millis between polls. | ||
timeUnit | | time unit for | |||||
useFixedDelay | | Whether to use fixed delay or fixed rate between polls. | | Camel 2.8: The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that | runLoggingLevel | | Logging level when a poll is executed. |
About error handling and scheduled polling consumers
...