Refer to the exhibit. A transaction fails due to an application exception. How many times will the REFramework retry this specific transaction?
Exhibit
Config.xlsx contains: Key='MaxRetryNumber', Value='3'. The Orchestrator Queue setting for 'Max Retries' is set to '0'.
Trap 1: 0
The Orchestrator queue setting is ignored for the retry logic handled by the REFramework state machine. The framework manually manages its own retry counter in a variable, which is compared against the MaxRetryNumber key in the configuration file, allowing for retries even when Orchestrator retries are disabled.
Trap 2: 1
The REFramework will continue to retry the item until the internal counter equals the MaxRetryNumber value. Since the value is set to 3, the framework will attempt the transaction again until it either succeeds or reaches the configured retry limit of three total attempts for that item.
Trap 3: 4
The framework considers the initial attempt as the first run, and then performs the number of retries specified in the configuration. A value of 3 implies that the item will be processed a maximum of four times total, but the specific retry count increment happens three times after failure.
- A
0
Why it fails: The Orchestrator queue setting is ignored for the retry logic handled by the REFramework state machine. The framework manually manages its own retry counter in a variable, which is compared against the MaxRetryNumber key in the configuration file, allowing for retries even when Orchestrator retries are disabled.
- B
1
Why it fails: The REFramework will continue to retry the item until the internal counter equals the MaxRetryNumber value. Since the value is set to 3, the framework will attempt the transaction again until it either succeeds or reaches the configured retry limit of three total attempts for that item.
- C
3
The framework uses the MaxRetryNumber parameter from the Config file to control its internal retry mechanism. When an application exception occurs, the framework checks if the current retry count is less than 3. Since the Orchestrator setting is irrelevant here, the framework will perform up to 3 retries.
- D
4
Why it fails: The framework considers the initial attempt as the first run, and then performs the number of retries specified in the configuration. A value of 3 implies that the item will be processed a maximum of four times total, but the specific retry count increment happens three times after failure.