You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Lukas Holthof (Jira)" <ji...@apache.org> on 2020/08/25 06:38:00 UTC
[jira] [Created] (CAMEL-15460) FTP Reconnect not successful
Lukas Holthof created CAMEL-15460:
-------------------------------------
Summary: FTP Reconnect not successful
Key: CAMEL-15460
URL: https://issues.apache.org/jira/browse/CAMEL-15460
Project: Camel
Issue Type: Bug
Components: camel-ftp
Affects Versions: 3.4.3
Reporter: Lukas Holthof
This is a follow-up of issue CAMEL-15299.
During [reconnect|https://github.com/apache/camel/blob/master/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpOperations.java#L1015] currently the expectation is that NOOP command throws an exception in case the client is not connected to the server anymore, but it might also just return false when not successful. During debugging I found that there is still a pending command (eg. retrieve of a file) which should be read before the NOOP, otherwise the NOOP response is not read correctly.
Will prepare a PR.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)