How SFTP configuration like MaximumReconnentAttempts, maximumRedeliveries and reconnectDelay works in Fuse ?
Issue
- User is having
OnExceptionblock in camel route in whichmaximumRedeliveriesandredeliveryDelayis used to reconnect with target SFTP. - But in advance details section of target
SFTPinswitchyard, noticed two more properties related with reconnecting.
MaximumReconnentAttempts 3
reconnectDelay 1000 ms
- User has specified
maximumRedeliveriesas 10. so now code will try to connect withSFTP10 into 3 equals 30 times. Is the understanding correct ? - If yes, can
MaximumReconnentAttemptsandreconnectDelaybe set to 0 ? As redelivery is being attempted byOnExceptionblock.
Environment
- Red Hat JBoss Fuse Service Works
- 6.0.0
- Red Hat JBoss Fuse
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.