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 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.