Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam MuleSoft Integration Architect I Topic 2 Question 28 Discussion

Actual exam question for Salesforce's MuleSoft Integration Architect I exam
Question #: 28
Topic #: 2
[All MuleSoft Integration Architect I Questions]

An integration Mule application is deployed to a customer-hosted multi-node Mule 4 runtime duster. The Mule application uses a Listener operation of a JMS connector to receive incoming messages from a JMS queue.

How are the messages consumed by the Mule application?

Show Suggested Answer Hide Answer
Suggested Answer: C

Correct answer is Depending on the Listener operation configuration, either all messages are consumed by ONLY the primary cluster node or else EACH message is consumed by ANY ONE cluster node

For applications running in clusters, you have to keep in mind the concept of primary node and how the connector will behave. When running in a cluster, the JMS listener default behavior will be to receive messages only in the primary node, no matter what kind of destination you are consuming from. In case of consuming messages from a Queue, you'll want to change this configuration to receive messages in all the nodes of the cluster, not just the primary.

This can be done with the primaryNodeOnly parameter:

<jms:listener config-ref='config' destination='${inputQueue}' primaryNodeOnly='false'/>


Contribute your Thoughts:

Fidelia
3 days ago
I'm leaning towards option B. Seems like a safer bet to have all nodes consume the messages, just in case the primary node goes down or something.
upvoted 0 times
...
Raina
5 days ago
That's interesting. I wonder how the Mule application handles message consumption in a multi-node cluster.
upvoted 0 times
...
Edward
11 days ago
I believe all messages are consumed by ALL cluster nodes regardless of the Listener operation configuration.
upvoted 0 times
...
Craig
13 days ago
Option C sounds like the way to go. It makes sense that the configuration would determine whether all nodes consume the messages or just the primary one.
upvoted 0 times
...
Raina
21 days ago
I think the messages are consumed by ONLY the primary cluster node based on the Listener operation configuration.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77