MuleSoft Certified Integration Architect – Level 1 — Question 21
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?
Answer options
- A. Regardless of the Listener operation configuration, all messages are consumed by ONLY the primary cluster node
- B. Depending on the JMS provider's configuration, either all messages are consumed by ONLY the primary cluster node or else ALL messages are consumed by ALL cluster nodes
- C. Regardless of the Listener operation configuration, all messages are consumed by ALL cluster nodes
- 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
Correct answer: D
Explanation
The correct answer is D because the Listener operation can be configured to allow either the primary cluster node to consume all messages or for messages to be distributed such that any one cluster node can consume each individual message. Options A and C incorrectly suggest that messages are consumed exclusively by the primary node or all nodes, respectively, which does not account for the configuration flexibility. Option B also misrepresents the consumption behavior by suggesting that all messages might be consumed by all nodes, which is not accurate.