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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content