Unlimited maximumReconnectAttempts for camel ftp component
Issue
- When sending files to
ftp, there is a parametermaximumReconnectAttemptswhich "Specifies the maximum reconnect attemptsCamelperforms when it tries to connect to the remoteFTPserver". - 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,Camelnever 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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
