Which statement describes how a Mule transaction can be rolled back?

Prepare for the MuleSoft Integration Architect exam. Study with flashcards and multiple-choice questions, each offering hints and explanations to deepen understanding. Ace your exam with our focused preparation tools!

Multiple Choice

Which statement describes how a Mule transaction can be rolled back?

Explanation:
Mule transactions are atomic: they either commit if everything in the scope succeeds, or roll back when something goes wrong inside that scope. The rollback happens when a failure occurs within a transaction scope and the error is not handled by an On Error Continue scope. On Error Continue catches errors and allows the flow to keep executing, which means the transaction can complete and be committed. If you raise an error or let one propagate and it remains unhandled, the transaction is rolled back. So the described scenario—an failure inside a transaction that isn’t swallowed by On Error Continue—best explains how a rollback occurs.

Mule transactions are atomic: they either commit if everything in the scope succeeds, or roll back when something goes wrong inside that scope. The rollback happens when a failure occurs within a transaction scope and the error is not handled by an On Error Continue scope. On Error Continue catches errors and allows the flow to keep executing, which means the transaction can complete and be committed. If you raise an error or let one propagate and it remains unhandled, the transaction is rolled back. So the described scenario—an failure inside a transaction that isn’t swallowed by On Error Continue—best explains how a rollback occurs.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy