[ https://issues.apache.org/activemq/browse/CAMEL-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59559#action_59559 ]
Claus Ibsen commented on CAMEL-2754: ------------------------------------ We have talked about introducing a notation of {{schedule}} in the DSL so you will be able to express the time period in a fluent manner and have it support timer + cron based. So if you drop in camel-quartz the cron engine from quartz can be used etc. This should be a general solution and not just tied to the FTP component. > 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 > > 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.