From commits-return-8050-apmail-camel-commits-archive=camel.apache.org@camel.apache.org Thu Aug 06 15:50:38 2009 Return-Path: Delivered-To: apmail-camel-commits-archive@www.apache.org Received: (qmail 55966 invoked from network); 6 Aug 2009 15:50:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Aug 2009 15:50:36 -0000 Received: (qmail 62100 invoked by uid 500); 6 Aug 2009 15:50:43 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 62051 invoked by uid 500); 6 Aug 2009 15:50:43 -0000 Mailing-List: contact commits-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 commits@camel.apache.org Received: (qmail 62042 invoked by uid 99); 6 Aug 2009 15:50:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2009 15:50:43 +0000 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.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2009 15:50:40 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id EBCAF2388896; Thu, 6 Aug 2009 15:50:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r801684 - /camel/sandbox/tuning-experiment/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileProducer.java Date: Thu, 06 Aug 2009 15:50:19 -0000 To: commits@camel.apache.org From: davsclaus@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090806155019.EBCAF2388896@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: davsclaus Date: Thu Aug 6 15:50:19 2009 New Revision: 801684 URL: http://svn.apache.org/viewvc?rev=801684&view=rev Log: Fixed unit test to work with new tuning experiment Modified: camel/sandbox/tuning-experiment/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileProducer.java Modified: camel/sandbox/tuning-experiment/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileProducer.java URL: http://svn.apache.org/viewvc/camel/sandbox/tuning-experiment/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileProducer.java?rev=801684&r1=801683&r2=801684&view=diff ============================================================================== --- camel/sandbox/tuning-experiment/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileProducer.java (original) +++ camel/sandbox/tuning-experiment/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileProducer.java Thu Aug 6 15:50:19 2009 @@ -22,7 +22,6 @@ import org.apache.camel.ServicePoolAware; import org.apache.camel.component.file.GenericFileOperationFailedException; import org.apache.camel.component.file.GenericFileProducer; -import org.apache.camel.util.ExchangeHelper; /** * Remote file producer. Handles connecting and disconnecting if we are not. @@ -46,13 +45,6 @@ return name; } - @SuppressWarnings("unchecked") - public void process(Exchange exchange) throws Exception { - Exchange remoteExchange = getEndpoint().createExchange(exchange); - processExchange(remoteExchange); - ExchangeHelper.copyResults(exchange, remoteExchange); - } - /** * The file could not be written. We need to disconnect from the remote server. */