BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
3 / 18 · Module 6 — Mule Routing and Orchestration · filtered: cheatsheet← prev⊞ allnext →

6.20What if one Scatter-Gather route fails?

Now things get interesting.

Suppose:

Salesforce → success
Billing    → timeout
Loyalty    → success

Question:

Should /customer-profile fail completely?

Maybe.

Maybe not.

This is business semantics.

Possible policy:

billing data mandatory
→ fail entire request

or:

billing data optional
→ return partial response

such as:

{
  "customerId": "C001",
  "companyName": "Acme",
  "balance": null,
  "loyaltyLevel": "Gold",
  "warnings": [
    "Billing information unavailable"
  ]
}

The orchestration primitive does not decide your business semantics.

You do.