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?
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'/>
Herminia
9 months agoShannon
9 months agoElbert
9 months agoTambra
9 months agoKanisha
10 months agoJuliann
10 months agoJannette
10 months agoLeslie
10 months agoRhea
10 months agoLeontine
11 months agoLuther
11 months agoMadalyn
11 months agoTyisha
11 months agoEsteban
1 year agoRutha
1 year agoStefan
1 year agoGeraldine
1 year agoNoel
1 year agoFidelia
1 year agoKeith
1 year agoKristeen
1 year agoAlethea
1 year agoLeatha
1 year agoRaina
1 year agoEdward
1 year agoCraig
1 year agoAlease
1 year agoRoxane
1 year agoRaina
1 year ago