Reputation: 981
I am using Apache Camel 2.14.x, ftp component 2.14 as well
I can specify the consumer.delay option in milliseconds. However, I can see that some users have also used minutes i.e.
"consumer.delay=15m" -- meaning 15 minutes,
Are there other units available such as seconds, hours, days, I searched through the docs and can't find any mention of these units.
Can anyone please point me to the right docs. Thanks
Upvotes: 1
Views: 3016
Reputation: 36
There is documentation for human friendly syntax:
http://camel.apache.org/how-do-i-specify-time-period-in-a-human-friendly-syntax.html
According to Claus Ibsen (https://issues.apache.org/jira/browse/CAMEL-9930):
All numeric values can be configured using that style.
Upvotes: 1
Reputation: 55750
See the documentation for the ftp component
There is a box saying
More options
See File for more options as all the options from File is inherited.
So go and see the file component for more options
At the consumer options you can find the delay option.
As the ftp consumer is scheduled polling, then it has even more advanced options which is documented at the section ScheduledPollConsumer Options on this page:
Upvotes: 2