Return-Path: Delivered-To: apmail-activemq-camel-dev-archive@locus.apache.org Received: (qmail 24800 invoked from network); 15 Sep 2008 16:11:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Sep 2008 16:11:43 -0000 Received: (qmail 20121 invoked by uid 500); 15 Sep 2008 16:11:40 -0000 Delivered-To: apmail-activemq-camel-dev-archive@activemq.apache.org Received: (qmail 20095 invoked by uid 500); 15 Sep 2008 16:11:40 -0000 Mailing-List: contact camel-dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-dev@activemq.apache.org Delivered-To: mailing list camel-dev@activemq.apache.org Received: (qmail 20084 invoked by uid 99); 15 Sep 2008 16:11:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2008 09:11:39 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2008 16:10:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9318E234C1C4 for ; Mon, 15 Sep 2008 09:10:52 -0700 (PDT) Message-ID: <563097003.1221495052597.JavaMail.jira@brutus> Date: Mon, 15 Sep 2008 09:10:52 -0700 (PDT) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Work started: (CAMEL-903) camel-ftp - last polltime should be off by default and only used for test scenarious In-Reply-To: <1204171345.1221470936723.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on CAMEL-903 started by Claus Ibsen. > 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 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.