Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 29306 invoked from network); 10 Feb 2010 11:43:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Feb 2010 11:43:11 -0000 Received: (qmail 17433 invoked by uid 500); 10 Feb 2010 11:43:10 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 17376 invoked by uid 500); 10 Feb 2010 11:43:10 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 17366 invoked by uid 99); 10 Feb 2010 11:43:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 11:43:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of claus.ibsen@gmail.com designates 209.85.218.211 as permitted sender) Received: from [209.85.218.211] (HELO mail-bw0-f211.google.com) (209.85.218.211) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 11:43:01 +0000 Received: by bwz3 with SMTP id 3so2597503bwz.33 for ; Wed, 10 Feb 2010 03:42:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=X0fCVwAE++ycqF+0s3s0HTIW49l9LYA/U4vMzcsJhXk=; b=fXUQkcfxE8YR+rwL7EODwu3epKxD9GdiHAUKOKpqhmap1x5/hdFS04havSQK3zivca ytIpAwD3QTsguQ08BbZJu1fMEsRixkvVecQNZpHs69aGWS2jkaSMTRgWPZ5IxeysOn3W U1oblQdnxxV+U+d4PkE2PQP+leYZ0EFcQmzAg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=wo8rYq/DCf9QI0wsXVbSTCIrOpC5tilE9mx3a3/QPp2L5XjeH4Nzj+8Thdf6921IOg vbZI+wLJSBlYjwMPHv7FHUUu+Ds/5DZcFEl6TSStNEkiNmLH7AG9wD7+f0qTp4dVN2GD bFVlQsaljCi7uAPX2IfAy0Lnt+04wlAypHdp0= MIME-Version: 1.0 Received: by 10.204.15.17 with SMTP id i17mr57471bka.173.1265802160176; Wed, 10 Feb 2010 03:42:40 -0800 (PST) In-Reply-To: <27527120.post@talk.nabble.com> References: <27527120.post@talk.nabble.com> From: Claus Ibsen Date: Wed, 10 Feb 2010 12:42:20 +0100 Message-ID: <5380c69c1002100342q7ae371bavb3ff89232493aff1@mail.gmail.com> Subject: Re: Wrong trace on GenericFileProducer? To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Thanks for reporting. I have fixed that now on trunk. On Wed, Feb 10, 2010 at 11:15 AM, mcrive wrote: > > Hi, > debugging an issue I am facing sending an exchange to an FTP endpoint I > found a possible wrong trace statement on the GenericFileProducer > > @line 104 (current trunk) > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0if (log.isTraceEnabled()) = { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0log.trace("Deletin= g existing file: " + > tempTarget); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0} > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0if (!operations.deleteFile= (target)) { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0throw new > GenericFileOperationFailedException("Cannot delete file: " + target); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0} > > it traces the tempTarget but it will delete the real target. > > regards, > Marco > -- > View this message in context: http://old.nabble.com/Wrong-trace-on-Generi= cFileProducer--tp27527120p27527120.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > --=20 Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus