QuestionQ46

VerifiedDesigning integration solutions with Anypoint Platform

A retail company is implementing a MuleSoft API to retrieve inventory details from two vendors by invoking each vendor’s online application. Because of network issues, invocations of the vendor applications time out intermittently, but requests succeed after each vendor application is invoked again.

What is the most performant way to implement the API so it invokes each vendor application and retries invocations that produce timeout errors?

Explanation

A Scatter-Gather router executes independent routes in parallel, minimizing latency when retrieving data from both vendor applications. An Until Successful scope retries the processors it contains until they succeed or the configured retry limit is exhausted, so placing one in each route retries an intermittent timeout for that vendor independently.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!