On 03/10/2011 05:56 PM, fadams wrote:
Thanks that's cool.

Could you please tell me how to achieve it?

I think that it's the limit policy so the things are:
"ring" and "flow-to-disk"'

So I've used flow-to-disk for durable queues but I'm pretty sure that when I
tried both it didn't work (I set it up with qpid-config).

I may have screwed up the syntax - I "think" I tried --limit-policy ring
flow-to-disk

When using qpid-config it would be:

qpid-config add queue my-durable-ring-queue --limit-policy ring --max-queue-count N --durable

[You don't want flow-to-disk, that is a policy whereby once the limit is reached subsequent messages are written to disk and their content s released from memory. I personally would avoid using flow-to-disk, it impacts performance quite significantly and doesn't actually save that much memory unless your messages are very large.]

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to