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)