MuleSoft Certified Integration Architect – Level 1 — Question 15
An XA transaction is being configured that involves a JMS connector listening for incoming JMS messages.
What is the meaning of the timeout attribute of the XA transaction, and what happens after the timeout expires?
Answer options
- A. The time that is allowed to pass without the transaction being ended explicitly After the timeout, the transaction is forcefully rolled-back
- B. The time that is allowed to pass for stale JMS consumer threads to be destroyed After the timeout, a new JMS consumer thread is created
- C. The time that is allowed to pass between receiving JMS messages on the same JMS connection After the timeout, a new JMS connection is established
- D. The time that is allowed to pass between committing the transaction and the completion of the Mule flow After the timeout, flow processing triggers an error
Correct answer: A
Explanation
The timeout attribute defines the maximum time a transaction can remain active without being explicitly completed. When the timeout is reached, the transaction is automatically rolled back to maintain data integrity, which aligns with option A. The other options inaccurately describe the timeout's implications, focusing on aspects unrelated to transaction completion.