How SFTP configuration like MaximumReconnentAttempts, maximumRedeliveries and reconnectDelay works in Fuse ?
Issue
- User is having
OnException
block in camel route in whichmaximumRedeliveries
andredeliveryDelay
is used to reconnect with target SFTP. - But in advance details section of target
SFTP
inswitchyard
, noticed two more properties related with reconnecting.
MaximumReconnentAttempts 3
reconnectDelay 1000 ms
- User has specified
maximumRedeliveries
as 10. so now code will try to connect withSFTP
10 into 3 equals 30 times. Is the understanding correct ? - If yes, can
MaximumReconnentAttempts
andreconnectDelay
be set to 0 ? As redelivery is being attempted byOnException
block.
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.