Hi Tim, On the Java Broker there are a few options for constraining a queue's growth (Producer Side Flow Control), and using only in memory storage (MemoryMessageStore) as well as LVQ where older messages are overwritten by new messages with the same header value. However, these don't as yet come together such that you can trigger overwriting on a memory threshold.
There are docs for these features, jic, here: https://cwiki.apache.org/qpid/use-last-value-queues-lvq.html https://cwiki.apache.org/qpid/producer-flow-control.html https://cwiki.apache.org/qpid/3rd-party-libraries.html Regards, Marnie On Wed, Aug 25, 2010 at 9:45 PM, Tim Chen <[email protected]> wrote: > Hi all, > > I have a question on qpid 0.6 java broker. > > I want to limit my queue to only store messages in memory, when memory is > full for that queue it will just simply replace the oldest messages in the > non-persistent queue. > > I wonder how can this be done using JMS queue creation? > > Thanks, > > Tim > > --------------------------------------------------------------------- > Apache Qpid - AMQP Messaging Implementation > Project: http://qpid.apache.org > Use/Interact: mailto:[email protected] > >
