[rabbitmq-discuss] Enable durables queues
emile at rabbitmq.com
Fri Dec 16 16:53:07 GMT 2011
On 16/12/11 16:14, irineo villanovaorts wrote:
> I would like to know how can I enable durable queues as default on
> rabbitmq version 1.7.2.
That's a very old version. You should upgrade.
> I have a running HA rabbitmq set it up with heartbeat,pacemaker and drbd
> but when heartbeat fails, the client lose the queues and it need to be
> restarted. So I guess if I could enable those queues I will get my
> problem solved.
You can declare queues as durable using the "durable" parameter in the
QueueDeclare() method. Also see
More information about the rabbitmq-discuss