exam questions

Exam MCIA - Level 1 All Questions

View all questions & answers for the MCIA - Level 1 exam

Exam MCIA - Level 1 topic 1 question 23 discussion

Actual exam question from Mulesoft's MCIA - Level 1
Question #: 23
Topic #: 1
[All MCIA - Level 1 Questions]

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?

  • 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
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
bkahraman
2 months, 4 weeks ago
Selected Answer: A
https://docs.mulesoft.com/mule-runtime/latest/xa-transactions
upvoted 1 times
...
madgeezer
1 year, 10 months ago
Selected Answer: A
A. The time that is allowed to pass without the transaction being ended explicitly After the timeout, the transaction is forcefully rolled-back
upvoted 2 times
...
Grump
2 years, 6 months ago
It should be A. Basic XA Transaction timeout definition. Transaction rolls back after timeout. The only confusing part is "explicitly". You can image as transaction being ended explicitly when the scope finishes without an exception, at which point transaction commits.
upvoted 1 times
...
AJ_SL
2 years, 8 months ago
https://docs.mulesoft.com/mule-runtime/3.7/xa-transactions refer this and answer is there - > https://docs.mulesoft.com/mule-runtime/3.7/jboss-transaction-manager-reference
upvoted 3 times
...
Ella_Z
2 years, 10 months ago
A is correct
upvoted 1 times
...
mgwu
2 years, 10 months ago
https://stackoverflow.com/questions/35941245/bitronix-exceptions-when-sending-jms-to-activemq-muleesb
upvoted 1 times
...
mgwu
2 years, 10 months ago
Mule polls for JMS messages with a polling timeout same as the configured xa transaction timeout (default:60 Secs). So, the polling thread waits a maximum of 60 seconds for a message to arrive in the queue. XA trnsaction begins the moment polling starts. Consider a scenario where the polling thread receives the message very close to the polling timeout ; say at 59th second (XA Transaction is close to timeout here because it began when polling was initiated) . If message processing takes another 5 seconds, total time of the XA Transaction will be 64 seconds (59 +5). Before the processing finishes, transaction manager kills the transaction because it exceeded the XA timeout.
upvoted 1 times
...
Rahul1387
2 years, 11 months ago
any reference document for this? Mule Docs doesn't have this info.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago