Compensation after partial parallel failures
Recover partially completed remote work using explicit provider contracts, preserved receipts and truthful compensation state, while keeping Mule transaction handling separate.
Implement compensating transactions for partially failed scatter-gather.
~6 min read · 10 practice questions ·
What the exam expects
- Distinguish failed routes from completed external effects.
- Preserve enough outcome and receipt information to perform business-defined undo.
- Handle failed or uncertain compensation without reporting false completion.
- Keep the original transaction rollback and compensation audit boundaries correct.
A side effect changes an external system; a receipt identifies that change for later operations; compensation performs business-defined counter-actions; reconciliation determines an uncertain outcome; a transaction boundary defines participating atomic work. Mule runtime rules come from Mule4.6 sources. Microsoft's2015pattern is supplemental design guidance, not a claim that Mule automatically implements provider cancellation APIs.
Key facts
- Detail
- A route can commit remote work before a later local failure.
- Detail
- Preserve provider-specific information needed for undo.
- Detail
- No state change means no counter-action for that read.
- Detail
- Refunds and cancellations obey the supplied provider rules.
- Detail
- Remaining processors in that Try are skipped.
- Detail
- Save needed selectors before nested recovery processing.
- Detail
- Runs after its original transaction rolls back.
- Detail
- Reconcile its terminal outcome under the provider contract.
- Detail
- Preserve unresolved state and escalate with context.
- Why can recovery order differ from a reversed forward-operation list?
- When can counter-actions run in parallel?
- What must finish before advance-acquired timeout-based resource locks expire?
The questions are free to read. Answers with their sources and self-grading are included with the pack.
Keep reading with the MuleSoft Developer II pack
- Core concepts
- Exam traps
- Worked scenario
The pack includes:
- All 29 lessons of the MuleSoft Developer II guide, with reading progress
- Interactive decision walks and step-by-step sequence steppers
- Practice exams purchase adds inline bank questions and topic practice (10 questions for this lesson)
- An official source cited for every claim
- An AI tutor that answers from the guide
- Choose guide-only, practice-only, or save $4 with both