camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
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 GMT
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.
      */



Mime
View raw message