[ https://issues.apache.org/activemq/browse/CAMEL-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59560#action_59560 ]
Claus Ibsen commented on CAMEL-2754: ------------------------------------ Btw in Camel 2.3 you can just set the {{delay=2h}} option in the endpoint URI. Instead of using millis seconds. And did you notice the info on the wiki page that the options from File also applied *More URI options* See File2 as all the options there also applies for this component. There you have options to set the delay. > To assign cron jobs with the FTP component. > ------------------------------------------- > > Key: CAMEL-2754 > URL: https://issues.apache.org/activemq/browse/CAMEL-2754 > Project: Apache Camel > Issue Type: Improvement > Reporter: Lennart Petersson > Priority: Minor > Fix For: Future > > > In reference to Nabble post: > http://old.nabble.com/Scheduled-Polling-Consumer-on-FTP-endpoint-to28678774.html > At the moment it is only possible to assign a timer with a fixed delay, to a > FTP endpoint, whereas a scheduled cron statement cannot be assigned in such a > way that all awaiting files on the FTP server are retrieved, but only one > file per scheduled call. > If Camel were to be improved in this respect, it would be possible to poll > e.g. every few hours and retrieve all awaiting files on the FTP server. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.