Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam MCIA - Level 1 topic 1 question 70 discussion

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

In a Mule application, a flow contains two (2) JMS Consume operations that are used to connect to a JMS broker and consume messages from two (2) JMS destinations. The Mule application then joins the two consumed JMS messages together.
The JMS broker does NOT implement high availability (HA) and periodically experiences scheduled outages of up to 10 minutes for routine maintenance.
What is the most idiomatic (used for its intended purpose) way to build the Mule flow so it can best recover from the expected outages?

  • A. Enclose the two (2) JMS operations in a Try scope with an On Error Continue error handler
  • B. Enclose the two (2) JMS operations in an Until Successful scope
  • C. Configure a transaction for the JMS connector
  • D. Configure a reconnection strategy for the JMS connector
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Alandt
2 weeks, 3 days ago
Selected Answer: D
D is correct. Ignore my other comment.
upvoted 1 times
...
Alandt
2 weeks, 5 days ago
Selected Answer: A
A is correct according to official practice exam
upvoted 1 times
Alandt
2 weeks, 3 days ago
I mean D. configure a new reconnection strategy.
upvoted 1 times
...
...
Viv2005
1 year, 7 months ago
If a JMS broker is not available the JMS consume operation of JMS connector will throw connection error. With option A, when consume fails the control goes to on error continue and go to subsequent step which will again fail. In case of option B, the connector will keep failing and filling up the logs until the operation is successful. This will work but not an effective solution. There is no point of creating a transaction and rollback on failure because both the destinations are on same broker. Also, it will rollback and will not reconnect. Reconnection strategy, however, will try to reconnect after a regular interval and the consume will not poll for a message till the connection is established. This surely is a more elegant way to handle the error and establish the connection again.
upvoted 2 times
...
madgeezer
1 year, 11 months ago
Selected Answer: D
D. Configure a reconnection strategy for the JMS connector
upvoted 2 times
Alandt
2 weeks, 4 days ago
Correct
upvoted 1 times
...
...
Outdoor25
2 years, 6 months ago
Should be D. Reconnect setting will allow mule to reconnect after JMS broker outage. Cannot be A, B or C because in all of those scenarios, mule flow will throw an error and fail rather than recover.
upvoted 1 times
...
Ricky9
2 years, 9 months ago
D is correct
upvoted 2 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 ...
ex Want to SAVE BIG on Certification Exam Prep?
close
ex Unlock All Exams with ExamTopics Pro 75% Off
  • arrow Choose From 1000+ Exams
  • arrow Access to 10 Exams per Month
  • arrow PDF Format Available
  • arrow Inline Discussions
  • arrow No Captcha/Robot Checks
Limited Time Offer
Ends in