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:

Edward
1 days ago
I believe all messages are consumed by ALL cluster nodes regardless of the Listener operation configuration.
upvoted 0 times
...
Craig
3 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
10 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