The Until Successful component for Mule 4 handles some processes differently
than the Mule 3 version. Some elements and attributes associated with these
changes are no longer present in Mule 4. In Mule 4, you can either achieve the
same functionality through different attributes or components, or you no longer
need to configure the functionality in Mule 4.
A manual migration of the Until Successful component involves these
modifications:
-
Removal of any <processor-chain/> elements.
-
Replacement of the secondsBetweenRetries attribute with millisBetweenRetries.
-
Removal of the failureExpression and use of a Validation processor for Mule 4,
instead.
-
Replacement of the deadLetterQueue-ref attribute with an Error Handler for Mule 4.
-
Removal of any <threading-profile/> elements.
-
Removal of the ackExpression attribute and use of a Set Payload component, instead.
-
Removal of any synchronous attributes.
These changes are detailed in the next sections.