[rabbitmq-discuss] RabbitMQ Clustering Policy issue
michael at rabbitmq.com
Wed Oct 9 08:29:42 BST 2013
On oct 9, 2013, at 11:25 a.m., Rajasekhar P <sekhar434145 at gmail.com> wrote:
> As per my understanding from the documentation https://www.rabbitmq.com/ha.html, only node having the queue starts with "cust1." has to be consumed messages from queue name "cust1.".
Sorry, I'm not sure what that means.
> But, here when we are running clustered nodes whatever the queues we have created all will be replicated across the nodes.
The policy means that queues that match the pattern will have 1 mirror.
> So, here my question is how to test the above policy?
Create a cluster of 2-3 nodes, declare a mirrored queue on one of them (say, rabbit1), then
publish a message that ends up in that queue. Then shut that node down and consume
your message from rabbit2 or rabbit3.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the rabbitmq-discuss