From bb5c7bd626abe754960e744a29e7352a97380808 Mon Sep 17 00:00:00 2001 From: Daniela Merlo Date: Tue, 1 Jul 2025 18:19:03 -0300 Subject: [PATCH] W-18404398-until-successful-scope-rewrite-44-dm --- modules/ROOT/pages/until-successful-scope.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/ROOT/pages/until-successful-scope.adoc b/modules/ROOT/pages/until-successful-scope.adoc index a743655e41..c3306aba88 100644 --- a/modules/ROOT/pages/until-successful-scope.adoc +++ b/modules/ROOT/pages/until-successful-scope.adoc @@ -10,7 +10,7 @@ Until Successful runs synchronously. If any processor within the scope fails to connect or to produce a successful result, Until Successful retries all the processors within it, including the one that failed, until all configured retries are exhausted. If a retry succeeds, the scope proceeds to the next -component. If the final retry does not succeed, Until Successful produces an error. +component. If the final retry doesn't succeed, Until Successful produces an error. Routing is successful if no exception is raised or if the response matches an expression. @@ -31,7 +31,7 @@ You can configure the following attributes in the Until Successful scope: |=== |Field | XML | Description |Max Retries | `maxRetries` |Specifies the maximum number of retries that are allowed. This attribute can be either a number or an expression that resolves to a number. An error message looks like this: `Message: 'until-successful' retries exhausted.` The Mule error type is `MULE:RETRY_EXHAUSTED`. -|Milliseconds Between Retries | `millisBetweenRetries` |Specifies, in milliseconds, the minimum interval between two retries. The actual interval depends on the previous execution, but it should not exceed twice this number. The default value is 60000 milliseconds (one minute). This attribute can be either a number or an expression that resolves to a number. +|Milliseconds Between Retries | `millisBetweenRetries` |Specifies the minimum interval, in milliseconds, between retries. The actual interval depends on the duration of the previous attempt, but it shouldn't exceed twice this value. The default is `60000` (one minute). This attribute can be either a number or an expression that resolves to a number. |=== == Example Configuration of the Until Successful Scope @@ -89,7 +89,7 @@ The next processor after the Until Successful scope executes, in this case, the == Variable Propagation -Every execution of the Until Successful scope starts with the same variables and values present before the execution of the block. New variables or modifications to already-existing variables while processing one element are not visible in the next execution (in case there is an error). If the execution finishes correctly, the variables (and payload) are propagated to the rest of the flow. +Every execution of the Until Successful scope starts with the same variables and values present before the execution of the block. New variables or modifications to already-existing variables while processing one element aren't visible in the next execution (in case there is an error). If the execution finishes correctly, the variables (and payload) are propagated to the rest of the flow. == See also