You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2015/04/23 08:25:38 UTC

[jira] [Updated] (CAMEL-8075) Camel sftp should send a command to check if the connection is broken

     [ https://issues.apache.org/jira/browse/CAMEL-8075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang updated CAMEL-8075:
--------------------------------
    Fix Version/s: 2.16.0
                   2.15.2
                   2.14.3

> 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)