MCIA - Level 1 Exam QuestionsBrowse all questions from this exam

MCIA - Level 1 Exam - Question 12


An integration Mule application is deployed to a customer-hosted multi-node Mule 4 runtime cluster. 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 Answer
Correct Answer: D

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. This setup allows for flexible configuration to accommodate different load balancing and high availability requirements. The primary cluster node setting ensures that all messages are handled by a specific node, while other configurations allow for messages to be distributed among available nodes, optimizing resource usage and reliability.

Discussion

14 comments
Sign in to comment
MulesoftOption: D
Jul 31, 2021

D is correct - https://dzone.com/articles/deep-dive-into-jms-integration-patterns-with-mules

Pavan_NagineniOption: D
Aug 27, 2021

D. 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

GrumpOption: D
Dec 25, 2021

D. I think.

sanni27Option: D
Jan 9, 2022

D, because its queue not topic so all the nodes cant consume, only one listener can consume.

razz123098Option: D
Jun 14, 2022

D is the answer

rodriguescontOption: D
Jun 27, 2022

D The configurations primaryNodeOnly, shared-subscriptions, and topics may affect if only primary node or the other nodes will process receiving messages.

[Removed]Option: D
Jul 1, 2022

in connector configuration, we have the configuration name "make primary node" if we enable this then this worker is only responsible for processing all the messages to prevent duplicacy, if we didn't enable it then every worker is responsible to process the message Ans D

madgeezerOption: D
Aug 4, 2022

D. 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

mamorOption: D
Oct 2, 2022

D is the answer

majda091983Option: D
Oct 25, 2022

it is D

sanni27Option: D
Oct 31, 2022

should be D

Viv2005Option: D
Nov 25, 2022

With listener-based connector (JMS, VM) traffic is distributed automatically or load balanced both in CloudHub and cluster. This means, even if primarynode=false the load distribution will be taken care of.

godricravenclawOption: D
Feb 9, 2023

This is the expected behaviour to achieve load balancing. Can be set to isPrimaryNode = true as well.

gilofernandesOption: D
Nov 8, 2023

In a customer-hosted multi-node runtime cluster, a JMS listener can be configured to decide where the messages are consumed: primary node only or all nodes. D is the correct answer