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
29 days agoAsuncion
2 days agoBrunilda
1 months agoLashandra
1 months agoMiriam
17 days agoCarlene
19 days agoLouvenia
21 days agoNettie
1 months agoTracey
1 months agoLouvenia
1 months agoArlette
1 months agoHermila
19 days agoMee
26 days agoReiko
1 months agoPauline
2 months ago