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:

Esteban
1 months ago
Option D? Really? Putting all the eggs in one basket doesn't sound like a good idea to me. I'll stick with C or B.
upvoted 0 times
Rutha
9 days ago
Yeah, I don't think putting all the load on one node is a good idea. Option C sounds like a more balanced approach.
upvoted 0 times
...
Stefan
10 days ago
I think option B might be the best choice here. It ensures all cluster nodes are consuming the messages.
upvoted 0 times
...
Geraldine
27 days ago
I agree, option D does seem risky. I would go with option C just to be safe.
upvoted 0 times
...
...
Noel
2 months ago
Haha, I bet the JMS provider is having a real fun time keeping up with this Mule application! Option A sounds like a wild ride.
upvoted 0 times
...
Fidelia
2 months 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
Kristeen
22 days ago
User3: I'm not sure, but I think option A could also work depending on the JMS provider's configuration.
upvoted 0 times
...
Alethea
27 days ago
User2: I agree with User1. Option C seems like the best choice for ensuring all messages are consumed.
upvoted 0 times
...
Leatha
1 months ago
User1: I think option C makes more sense. Each message being consumed by any one cluster node sounds efficient.
upvoted 0 times
...
...
Raina
2 months ago
That's interesting. I wonder how the Mule application handles message consumption in a multi-node cluster.
upvoted 0 times
...
Edward
2 months ago
I believe all messages are consumed by ALL cluster nodes regardless of the Listener operation configuration.
upvoted 0 times
...
Craig
2 months 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
Alease
1 months ago
Yes, it's important to consider the configuration settings to ensure the messages are consumed correctly by the cluster nodes.
upvoted 0 times
...
Roxane
1 months ago
I agree, option C seems logical. The Listener operation configuration should determine how the messages are consumed.
upvoted 0 times
...
...
Raina
2 months ago
I think the messages are consumed by ONLY the primary cluster node based on the Listener operation configuration.
upvoted 0 times
...

Save Cancel