Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions modules/ROOT/pages/until-successful-scope.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down Expand Up @@ -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

Expand Down