User Tools

Site Tools


Sidebar

Nebol Software Projects:

.NET Class Libraries

Contact info:

johan@nebol.se

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).

"30sx3"

This means it will wait 30 seconds and then try again, and it will do this three times before giving up

"1mx5,1hx24,1dx7,30dx12"

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.txt · Last modified: 2021/09/27 01:26 by nebol