QuestionQ24

VerifiedImplement performant and reliable Mule applications

Refer to the exhibit.

Question Image

Which required changes can be made to provide a partially successful response if the United Airlines API times out?

Explanation

A Scatter-Gather route that handles its own error with a Try scope and an On Error Continue handler is treated as successfully completed, so its fallback payload can be combined with the result from the other route. Wrapping each Flow Reference in a Try scope, setting the failed route’s payload to an empty value, and using On Error Continue preserves the successful airline response for the subsequent concatenation. On Error Propagate would cause the route to fail and the Scatter-Gather to raise a composite-routing error.

Learn more

Community Discussion

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