camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CAMEL-903) camel-ftp - last polltime should be off by default and only used for test scenarious
Date Mon, 15 Sep 2008 16:12:52 GMT

     [ https://issues.apache.org/activemq/browse/CAMEL-903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen updated CAMEL-903:
------------------------------

    Description: 
The camel-ftp component uses System.currentTimeMillis stored as last poll time. The remote
file timestamp is used for comparing against last poll time if its new and thus a candidate
for download.

As timestamps over FTP is not reliable we should not use this feature by default, but turn
it off. It should only be there for test or experimental usage.
Most FTP servers only sent file timestamp as HH:mm (no seconds). And as a bonus we avoid timezone
issues as well.

Instead end-users should use a different strategy for "marking files done" such as:
- delete consumed files
- rename consumed files


See nabble:
http://www.nabble.com/Ftp-consumer-td19489526s22882.html


  was:
The camel-ftp component uses System.currentTimeMillis stored as last poll time. The remote
file timestamp is used for comparing against last poll time if its new and thus a candidate
for download.

As timestamps over FTP is not reliable we should not use this feature by default, but turn
it off. It should only be there for test or experimental usage.
Most FTP servers only sent file timestamp as HH:mm (no seconds). And as a bonus we avoid timezone
issues as well.

Instead end-users should use a different strategy for "marking files done" such as:
- delete consumed files
- rename consumed files




> camel-ftp - last polltime should be off by default and only used for test scenarious
> ------------------------------------------------------------------------------------
>
>                 Key: CAMEL-903
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-903
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-ftp
>    Affects Versions: 1.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Critical
>             Fix For: 1.5.0
>
>
> The camel-ftp component uses System.currentTimeMillis stored as last poll time. The remote
file timestamp is used for comparing against last poll time if its new and thus a candidate
for download.
> As timestamps over FTP is not reliable we should not use this feature by default, but
turn it off. It should only be there for test or experimental usage.
> Most FTP servers only sent file timestamp as HH:mm (no seconds). And as a bonus we avoid
timezone issues as well.
> Instead end-users should use a different strategy for "marking files done" such as:
> - delete consumed files
> - rename consumed files
> See nabble:
> http://www.nabble.com/Ftp-consumer-td19489526s22882.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message