High Quality JMS & AMQP Messaging.

Clustered Queue Configuration

Define physical Queues

A physical queue acts as input queue for a single consumer. If there are multiple local consumers for a clustered queue, a physical queue should be created for each of them:

So if there are 3 local consumers for this clustered queue, 3 physical queues needs to be defined (in this example "k1" to "k3"):

Define the clustered Queue

Next is to define the clustered queue. In case the clustered queue is used on multiple connected routers, the name must be the same. We chose "cqueue1":

Bind physical Queues to the clustered Queue

Last step is to bind the physical queues "k1", "k2", "k3" to the clustered queue "cqueue1":

It is possible to enable / disable message redispatch for each binding. It is enabled by default. Only if message groups are used which must be consumed by the same consumer, it must be disabled for ALL bindings.

That's all to define a clustered queue. It must be repeated on all routers which are using this clustered queue.