Salesforce Certified MuleSoft Platform Integration Architect free question 8 / 10 · Domain 7: Designing integration solutions to meet reliability requirements
An architect lists the transaction types of Mule 4 for a design document. Which two types exist, and which one is the default?
- Local and Distributed, where Distributed is the default
- Optimistic and Pessimistic, where Optimistic is the default
- Single Resource (Local), which is the default, and Extended Architecture (XA)
- Single Resource (Local) and Extended Architecture (XA), where XA is the default
Show the answer and explanation
Answer: C
Why this is correct
The Transaction Types section states that Mule supports Single Resource transactions, also called Local and the default, and Extended Architecture (XA) transactions, set through the transactionType attribute. A transaction demarcates a series of steps that must succeed or fail as one unit, and when it fails, Mule rolls back the operations within it so that no part results in partial completion. The page adds that you can also implement a reliability pattern when the application receives messages from a non-transactional connector.
Why the other options are wrong
"Single Resource (Local) and Extended Architecture (XA), where XA is the default" … The page says Single Resource, also called Local, is the default type.
"Local and Distributed, where Distributed is the default" … The page names Single Resource (Local) and Extended Architecture (XA). A Distributed type is not named.
"Optimistic and Pessimistic, where Optimistic is the default" … Those are locking strategies of databases. They are not Mule transaction types.
Key points
Mule offers Single Resource (Local, default) and XA transactions.