Camel FTP maximumReconnectAttempts option does not work as expected

Solution Verified - Updated -

Issue

Camel FTP component(both producer and consumer) is internally connecting to the target FTP server more than the value set at "maximumReconnectAttempts".

sample]$ grep "Reconnect attempt" camel-ftp-test.log
2018-09-26 11:46:23,625 [ - vm://trigger] TRACE FtpOperations                  - Reconnect attempt #1 connecting to ftp://admin@doesnotexisthost:21000
2018-09-26 11:49:23,669 [ - vm://trigger] TRACE FtpOperations                  - Reconnect attempt #1 connecting to ftp://admin@doesnotexisthost:21000
sampe]$

Environment

  • Red Hat Fuse
    • 6.3
    • 7.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.