[
https://issues.apache.org/jira/browse/CAMEL-8075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Willem Jiang resolved CAMEL-8075.
---------------------------------
Resolution: Fixed
Applied the patch into camel master, camel-2.15.x and camel-2.14.x branches.
> Camel sftp should send a command to check if the connection is broken
> ---------------------------------------------------------------------
>
> Key: CAMEL-8075
> URL: https://issues.apache.org/jira/browse/CAMEL-8075
> Project: Camel
> Issue Type: Improvement
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Fix For: 2.14.3, 2.15.2, 2.16.0
>
>
> Here is [a
> question|http://stackoverflow.com/questions/26810743/org-apache-camel-component-file-genericfileoperationfailedexception-cannot-lis/27032384#27032384]
> in the stackoverflow.
> I just checked the code of camel-ftp, it has the code to check the
> connection, but it's hard to know if the connection is still opened if we
> don't send some bytes to server socket.
> The solution could be force the ftp client send some ping or list message to
> check if the connection is still open.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)