Download attached FtpTimeoutWithMaximumReconnectAttemptsTest.java and place it under fuse-sources-630347/camel-2.17.0.redhat-630347/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote
Download attached FtpTimeoutWithMaximumReconnectAttemptsTest.java and place it under fuse-sources-630347/camel-2.17.0.redhat-630347/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote
mv fuse-sources-630347/camel-2.17.0.redhat-630347/components/camel-ftp
fix fuse-sources-630347/camel-2.17.0.redhat-630347/components/camel-ftp/src/test/resources/log4j.properties to set TRACE level logging
mvn test -Dtest=org.apache.camel.component.file.remote.FtpTimeoutWithMaximumReconnectAttemptsTest
check fuse-sources-630347/camel-2.17.0.redhat-630347/components/camel-ftp/target/camel.ftp-test.log
we can observe the issue
Description
camel-ftp is internally connecting to the target FTP server more than the value set at "maximumReconnectAttempts"