Return-Path: Delivered-To: apmail-activemq-camel-dev-archive@locus.apache.org Received: (qmail 36418 invoked from network); 15 Sep 2008 16:33:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Sep 2008 16:33:21 -0000 Received: (qmail 47775 invoked by uid 500); 15 Sep 2008 16:33:18 -0000 Delivered-To: apmail-activemq-camel-dev-archive@activemq.apache.org Received: (qmail 47700 invoked by uid 500); 15 Sep 2008 16:33:18 -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 47688 invoked by uid 99); 15 Sep 2008 16:33:18 -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:33:18 -0700 X-ASF-Spam-Status: No, hits=-1999.8 required=10.0 tests=ALL_TRUSTED,WHOIS_MYPRIVREG 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:32:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 92C26234C1C5 for ; Mon, 15 Sep 2008 09:32:52 -0700 (PDT) Message-ID: <136908193.1221496372596.JavaMail.jira@brutus> Date: Mon, 15 Sep 2008 09:32:52 -0700 (PDT) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (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:comment-tabpanel&focusedCommentId=45704#action_45704 ] Claus Ibsen commented on CAMEL-903: ----------------------------------- Commited fix. The flag is named: *consumer.timestamp* its a boolean that is *false* by default. Set it to *true* to enable it as it works in Camel 1.4 or older. > 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.