User Tools

Site Tools


nebolintegration_retryscheme

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
nebolintegration_retryscheme [2021/09/27 01:05] – created nebolnebolintegration_retryscheme [2021/09/27 01:26] (current) nebol
Line 1: Line 1:
-==== NebolIntegration: RetryScheme ====+==== NebolIntegration: RetryScheme - How the retry scheme works ==== 
 + 
 +The retry scheme for an integration specifies how it will retry processing a request on failure. 
 + 
 +When an integration fails for any reason, like if the other side is not responding, a record will be created in the IntegrationResults table with Status 3 (Error) instead of 2 (Success), and the Message will contain the error response or exception details. 
 + 
 +Then it will wait for a specified time and try again according to the scheme. 
 + 
 +The sceme consists of a number (how long), a letter (s,m,h,d), an x (times) and one more number (count). 
 + 
 +<code> 
 +"30sx3" 
 +</code> 
 +This means it will wait 30 seconds and then try again, and it will do this three times before giving up 
 + 
 +<code> 
 +"1mx5,1hx24,1dx7,30dx12" 
 +</code> 
 +This means it will try every minute for five minutes, then every hour for 24 hours, then every day for a week, and finally every month (approx) for a year 
 + 
 +Even if you supply no scheme for your integration, it will process the request once. 
 + 
 +When it has tried all the times according to the schedule without success, it will set the Status on the IntegrationQueue record to 4 (GaveUp) and nothing more will be done. 
nebolintegration_retryscheme.1632697558.txt.gz · Last modified: 2021/09/27 01:05 by nebol