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
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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.