The document discusses the until-successful component in Mule, which processes messages through its processors until the process succeeds. It retries processing asynchronously by default up to a configured maximum number of retries. An example flow is provided that uses until-successful to retry a database query up to 5 times if it initially fails due to a missing table.
2. Abstract
• The main motto of this PPT is how to use Until
Successful component in our applications.
3. Introduction
• The until-successful scope processes
messages through the processors within it
until the process succeeds. By default, until-
successful’s processing occurs asynchronously
from the main flow. After passing a message
into the until-successful scope, the main flow
immediately regains control of the thread.
However, you can configure until-successful to
run synchronously relative to the main flow.
7. • Flow of execution:
1. URL to trigger the service from browser
http://localhost:8087/UntilSuccessful
2. Database component connects to the specific
database, executes the select query but there is
no table specified in DB, hence the until
successful component retries for 5 times and
exit the flow.