[rabbitmq-discuss] Rabbit.js and x-ha-policy

Arnaud Tanguy arnaudtanguy at gmail.com
Fri Jul 27 17:47:13 BST 2012


Hi guys,

I'm wondering how to set arguments to a queue in rabbit.js.

I'want to use this option: {'arguments': {'x-ha-policy': 'all'}

//rabbitMq connection ready
context.on('ready', function () {
    var pubStatSub = context.socket('PUSH');
    pubStatSub.connect('statsub_queue');

});

Is that possible?
Do I have to switch to an other library like node-amqp? (if it's possible)

Thanks for your help.

Cheers,
Arnaud.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120727/b74e0ad1/attachment.htm>


More information about the rabbitmq-discuss mailing list