Posted on Leave a comment

Until Successful



The Until Successful scope processes the components within it until they succeed or exhaust the maximum number of retries.

Until Successful runs synchronously.

Until Successful component

Configure of Until-Successful-

Max Retries:- Specifies the maximum number of retries that are attempted

Milliseconds Between Retries:- Specifies the minimum interval between   two attempts to process, in milliseconds, Default value is 1 Min



Wrap the HTTP Requester inside Until Successful


We have configured the Retries Interval as 20 ms (You can configure as per the requirement) and max Retries is 3.



In case of success scenario ,

there will not be any error received from Rest API(http status will be 200) and success response will be retrieved.

In case of failure scenario

Until Successful retries the failed task until all configured retries are exhausted and if final retry does not succeed . until successful produces an error.

if a retry succeeds .the scope proceeds to next component

Leave a Reply

Your email address will not be published. Required fields are marked *