QuestionQ56

VerifiedDesigning for the runtime plane technology architecture

A cluster containing two customer-hosted Mule runtimes hosts an application with a flow whose JMS listener is configured to subscribe to messages from a topic destination.

How should the JMS listener’s primaryNodeOnly and subscription parameters be configured so that the listener can receive messages on every node in the cluster while processing each message only once?

Explanation

Setting primaryNodeOnly="false" runs the listener on all cluster nodes. For a topic destination, a JMS 2.0 shared subscription distributes each published message to only one consumer in that shared subscription, preventing duplicate processing across the cluster.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!