You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2016/07/15 09:00:00 UTC
camel git commit: CAMEL-10149: Camel-Ftp: SftpOperations use
sendKeepAliveMsg instead of sendIgnore method
Repository: camel
Updated Branches:
refs/heads/camel-2.16.x 80629f001 -> af0a8ddf2
CAMEL-10149: Camel-Ftp: SftpOperations use sendKeepAliveMsg instead of sendIgnore method
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/af0a8ddf
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/af0a8ddf
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/af0a8ddf
Branch: refs/heads/camel-2.16.x
Commit: af0a8ddf2cdaad738f68e9904aa35853dccefc32
Parents: 80629f0
Author: Andrea Cosentino <an...@gmail.com>
Authored: Fri Jul 15 10:54:29 2016 +0200
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Fri Jul 15 10:58:11 2016 +0200
----------------------------------------------------------------------
.../org/apache/camel/component/file/remote/SftpOperations.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/af0a8ddf/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpOperations.java
----------------------------------------------------------------------
diff --git a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpOperations.java b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpOperations.java
index ab7e649..9f4458a 100644
--- a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpOperations.java
+++ b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpOperations.java
@@ -997,7 +997,7 @@ public class SftpOperations implements RemoteFileOperations<ChannelSftp.LsEntry>
public synchronized boolean sendNoop() throws GenericFileOperationFailedException {
if (isConnected()) {
try {
- session.sendIgnore();
+ session.sendKeepAliveMsg();
return true;
} catch (Exception e) {
LOG.debug("SFTP session was closed. Ignoring this exception.", e);