Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9493710FF7 for ; Mon, 21 Oct 2013 13:55:43 +0000 (UTC) Received: (qmail 23461 invoked by uid 500); 21 Oct 2013 13:55:43 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 23403 invoked by uid 500); 21 Oct 2013 13:55:42 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 23383 invoked by uid 99); 21 Oct 2013 13:55:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Oct 2013 13:55:42 +0000 Date: Mon, 21 Oct 2013 13:55:42 +0000 (UTC) From: "Alberto Brosich (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (CAMEL-6574) FTP consumer does not detect file changes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-6574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alberto Brosich reopened CAMEL-6574: ------------------------------------ Still having problems using SFTP consumer. Trace the component gives no additional information. Endpoint configuration: sftp://username@host//dirname?delay=1800000&disconnect=true&fileName=FILENAME&idempotentKey=$simple{file:name}-$simple{file:modified}-$simple{file:size}&idempotentRepository=#fileStore&maxMessagesPerPoll=1&noop=true&password=xxxxxx&readLock=changed&sortBy=file:modified Log: 2013-10-21 15:26:57,921 TRACE SftpConsumer - SftpFile[fileName=FILENAME, longName=-rwxr-xr-x 1 User Group 1504500 Oct 21 12:16 FILENAME, dir=false] 2013-10-21 15:26:57,925 TRACE SftpConsumer - This consumer is idempotent and the file has been consumed before. Will skip this file: RemoteFile[dirname/FILENAME] I tried both inMemory and file idempotent key repository but the behaviour is always the same. Looking in the file repository I can see the old key that is different from that of the current file, but the consumer always says that the file has been consumed before. > FTP consumer does not detect file changes > ----------------------------------------- > > Key: CAMEL-6574 > URL: https://issues.apache.org/jira/browse/CAMEL-6574 > Project: Camel > Issue Type: Bug > Components: camel-ftp > Affects Versions: 2.11.1 > Environment: GNU/Debian 6.0, Java 1.7 > Reporter: Alberto Brosich > Assignee: Claus Ibsen > Fix For: 2.12.0 > > > I have a route with an FTP consumer with the following options: > delay=1800000 > disconnect=true > fileName=xxxxx.yyy > idempotent=true > idempotentKey=${file:name}-${file:size} > maxMessagesPerPoll=1 > noop=true > readLock=changed > sortBy=file:modified > Upgrading from camel 2.11.0 to 2.11.1 the FTP consumer does not detect changes in the file. > I tried several idempotentKey without success. > Reverting to 2.11.0 works all fine. > I did not find any relevant info in the release notes. -- This message was sent by Atlassian JIRA (v6.1#6144)