The until-successful scope processes messages through its processors asynchronously and retries if failures occur. It will retry up to the configured maximum number of retries, waiting the specified time between retries. This document provides an XML example of using an until-successful scope with a VM outbound endpoint to retry a database query up to 5 times with 5 seconds between retries if the "DB_STATUS" session variable is not set to "SUCCESS".