You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2019/01/16 14:58:08 UTC
[camel] branch master updated: Fixed was using wrong
FileProcessStrategy for SFTP component.
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 7109d81 Fixed was using wrong FileProcessStrategy for SFTP component.
7109d81 is described below
commit 7109d815cb996660a17b67538defc1218255ff91
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Jan 16 15:57:06 2019 +0100
Fixed was using wrong FileProcessStrategy for SFTP component.
---
.../java/org/apache/camel/component/file/remote/SftpComponent.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpComponent.java b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpComponent.java
index bf35c2e..0fbb704 100644
--- a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpComponent.java
+++ b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpComponent.java
@@ -22,14 +22,14 @@ import java.util.Map;
import org.apache.camel.CamelContext;
import org.apache.camel.component.file.FileProcessStrategy;
import org.apache.camel.component.file.GenericFileEndpoint;
-import org.apache.camel.component.file.remote.strategy.FtpProcessStrategyFactory;
+import org.apache.camel.component.file.remote.strategy.SftpProcessStrategyFactory;
import org.apache.camel.spi.annotations.Component;
/**
* Secure FTP Component
*/
@Component("sftp")
-@FileProcessStrategy(FtpProcessStrategyFactory.class)
+@FileProcessStrategy(SftpProcessStrategyFactory.class)
public class SftpComponent extends RemoteFileComponent<SftpRemoteFile> {
public SftpComponent() {