[rabbitmq-discuss] Queues declared with "x-ha-policy", "all" but not mirrored

Simon MacMullen simon at rabbitmq.com
Wed Feb 19 11:20:54 GMT 2014


On 19/02/14 11:22, Patrick Long wrote:
> model.QueueDeclare(workQueueName, true, false, false, new
> Dictionary<string, object>() { { "x-ha-policy", "all" } });
>
> What that says to me is make this a highly available queue mirrored
> across all nodes in the cluster.

It does in RabbitMQ 2.x.

(see http://previous.rabbitmq.com/v2_8_x/ha.html)

In RabbitMQ 3.x this was changed to be configured by policy

(see http://www.rabbitmq.com/ha.html)

You might also want to read:

http://www.rabbitmq.com/blog/2012/11/19/breaking-things-with-rabbitmq-3-0/

Cheers, Simon

-- 
Simon MacMullen
RabbitMQ, Pivotal


More information about the rabbitmq-discuss mailing list