Question
· Jul 24, 2019

How connection timeout play in retry?

Hi,

I'm trying to send a file to other system using "Enslib.FTP.PassthroughOperation" and use below settings for connection and retry,


Connection Settings
StayConnected : -1 
ConnectTimeout : 30

Additional Settings
RetryInterval : 15 
FailureTimeout : 240

As per my analysis, if the connection is failed, it retries 16 times (FailureTimeout/RetryInterval). Initially, I assumed that ConnectTimeout also involves with RetryInterval and the total number of retry would be 6 times (FailureTimeout/(RetryInterval+ConnectTimeout)).

Still, it is not clear to me whether Ensemble considers "ConnectTimeout" during retries or not. 

Can someone please explain the effect of the ConnectTimeout, FailureTimeout on an Ensemble business operation "Enslib.FTP.PassthroughOperation" with "EnsLib.FTP.OutboundAdapter"?

Discussion (3)2
Log in or sign up to continue

Retry Interval- No. Of seconds a business operation  job wait before doing next retry

FailureTimeOut - Total no. Of seconds a business operation Job keeps trying connecting destination.

We should keep this always greater that retry Interval. 

ConnectTimeOut - 

In case of FTP, a business operation job tries to connect FTP server till ConnectTimeOut for each attempt.

In case of TCP, a business operation job tries to connect to remote TCP listener till ConnectTimeOut for each attempt.

Ideally this has nothing to do with retry Interval, but we should take a logical call while setting this value and keep always less than FailureTimeOut.

No. Of reties may depend on the combination of these three values.