Willem Jiang created CAMEL-8075:
-----------------------------------

             Summary: 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


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)

Reply via email to