This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| nebolintegration_retryscheme [2021/09/27 01:05] – created nebol | nebolintegration_retryscheme [2021/09/27 01:26] (current) – nebol | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ==== NebolIntegration: | + | ==== NebolIntegration: |
| + | |||
| + | 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). | ||
| + | |||
| + | < | ||
| + | " | ||
| + | </ | ||
| + | This means it will wait 30 seconds and then try again, and it will do this three times before giving up | ||
| + | |||
| + | < | ||
| + | " | ||
| + | </ | ||
| + | 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, | ||
| + | |||
| + | 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. | ||