Unlimited maximumReconnectAttempts for camel ftp component

Solution Verified - Updated -

Issue

  • When sending files to ftp, there is a parameter maximumReconnectAttempts which "Specifies the maximum reconnect attempts Camel performs when it tries to connect to the remote FTP server".
  • It was expected the number of reconnect attempts to be unlimited if maximumReconnectAttempts=0.
  • However, having maximumReconnectAttempts=0 actually sets number of attempts to zero, i.e. as soon as connection attempt fails, Camel never retries.
  • Is it how it is supposed to be or is it a bug?

Environment

  • Fuse ESB
    • 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