On 02/29/2012 08:53 AM, [email protected] wrote:
Can anyone give me an idea on how to create dynamically growing queues.ie., when a particular message arrives the queue has to grow by 1 and when the message is delivered , it should reduce by 1. ie., my queue should grow whne only mesage arrives and shrink on delivering the messages one by one. ie., I don want to set the queue size initially.
That is how queues work by default. However there are two qualifications to that:
* Distinct from an initial size you may want to set a limit to the size to which a given queue can grow.
* For the c++ broker, if you want your messages to be persisted to disk, then you need to determine how much capacity you will need on disk when you first create the queue.
--------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
