[rabbitmq-discuss] Durable Queues
Varun Samuel
vis2 at cornell.edu
Thu Dec 13 23:49:48 GMT 2007
Hi,
I think someone posted about this earlier, but I'm still a little
stuck. I want to save messages in a queue to disk. I made the queue
durable like so:
channel.queueDeclare(ticket, queueName, false, true, true, false, null)
where the first true indicates the queue is durable. My messages are
tagged as persistent like this:
new AMQP.BasicProperties("", "", null, 2, 0, "", "", "", "", new Date
(), "", userName, "", "")
when setting the BasicProperties object.
I assume if you want to read messages from a durable cue you would
use channel.basicGet. I'm not sure where I'm going wrong
with these steps, so any help would be appreciated.
Thanks,
Varun
More information about the rabbitmq-discuss
mailing list