You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Lennart Petersson (JIRA)" <ji...@apache.org> on 2010/05/26 17:00:52 UTC

[jira] Created: (CAMEL-2754) To assign cron jobs with 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.


[jira] Resolved: (CAMEL-2754) To assign cron jobs with the FTP component.

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-2754.
--------------------------------

    Fix Version/s: 2.5.0
                       (was: Future)
       Resolution: Duplicate

Yeah lets close this one. I reopened the other ticket which is more generic.

> 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: 2.5.0
>
>
> 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.


[jira] Commented: (CAMEL-2754) To assign cron jobs with the FTP component.

Posted by "Ashwin Karpe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61031#action_61031 ] 

Ashwin Karpe commented on CAMEL-2754:
-------------------------------------

Is there any further reason for keeping this issue open? 

Should we resolve this since there are more flexible and preferable workarounds available rather than further complicating the FTP endpoint...?

- Ashwin...

> 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: 2.5.0
>
>
> 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.


[jira] Commented: (CAMEL-2754) To assign cron jobs with the FTP component.

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (CAMEL-2754) To assign cron jobs with the FTP component.

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Updated: (CAMEL-2754) To assign cron jobs with the FTP component.

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-2754:
-------------------------------

    Fix Version/s: Future

> 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.