sftp endpoint should exclude some options it does not support
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/2fa4fd03 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/2fa4fd03 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/2fa4fd03 Branch: refs/heads/camel-2.17.x Commit: 2fa4fd0302f6684d4a401160d10ac50fd6ef9e05 Parents: 7891367 Author: Claus Ibsen <davscl...@apache.org> Authored: Tue Aug 16 13:50:27 2016 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Tue Aug 16 13:51:12 2016 +0200 ---------------------------------------------------------------------- .../java/org/apache/camel/component/file/remote/SftpEndpoint.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/2fa4fd03/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpEndpoint.java ---------------------------------------------------------------------- diff --git a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpEndpoint.java b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpEndpoint.java index 12af0f8..0da5beb 100644 --- a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpEndpoint.java +++ b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpEndpoint.java @@ -28,7 +28,8 @@ import org.apache.camel.spi.UriParam; * The sftp (FTP over SSH) component is used for uploading or downloading files from SFTP servers. */ @UriEndpoint(scheme = "sftp", extendsScheme = "file", title = "SFTP", - syntax = "sftp:host:port/directoryName", consumerClass = SftpConsumer.class, label = "file") + syntax = "sftp:host:port/directoryName", consumerClass = SftpConsumer.class, label = "file", + excludeProperties = "binary,passiveMode,receiveBufferSize,siteCommand,useList") public class SftpEndpoint extends RemoteFileEndpoint<ChannelSftp.LsEntry> { @UriParam