Which pattern should be used to invoke multiple HTTP APIs in parallel and roll back failed requests in sequence?
To invoke multiple HTTP APIs in parallel and roll back failed requests in sequence, the developer should use a Scatter-Gather router as a central Saga orchestrator for all API requests with compensating actions for failing routes. A Scatter-Gather router executes multiple routes concurrently and aggregates the results. A Saga orchestrator coordinates a series of actions across different services and handles failures by executing compensating actions. Therefore, using a Scatter-Gather router as a Saga orchestrator allows invoking multiple HTTP APIs in parallel and rolling back any failed requests in sequence. Reference: https://docs.mulesoft.com/mule-runtime/4.3/scatter-gather-concept https://docs.mulesoft.com/mule-runtime/4.3/saga
Limited Time Offer
25%
Off
Luisa
26 days agoBrunilda
28 days agoLashandra
28 days agoMiriam
14 days agoCarlene
16 days agoLouvenia
18 days agoNettie
1 months agoTracey
1 months agoLouvenia
1 months agoArlette
1 months agoHermila
16 days agoMee
23 days agoReiko
29 days agoPauline
1 months ago