Hi Marnie,

Thanks for the info.

I've decided to start using the C++ broker paired with qpid JMS client.

I wonder if you know if it's possible to create a queue using the qpid Java JMS 
client in the C++ broker?

I used to be able to with the Java broker, but the same code that calles 
session.createQueue simply returns null and a error message will show up in 
qpid that a invalid queue name was put in.

Thanks!

Tim


----- Original Message -----
From: "Marnie McCormack" <[email protected]>
To: [email protected]
Sent: Thursday, August 26, 2010 1:01:08 PM GMT -08:00 US/Canada Pacific
Subject: Re: Queue message overwriting

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]
>
>

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

Reply via email to