activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: Urgent - please help
Date Tue, 03 Jul 2007 11:28:30 GMT
On 7/3/07, yunusbayraktar <> wrote:
> Hi James,
> We have a list of clients and for each client we create a separate
> queue(some of them are persistent, some of them are not) dynamically. The
> number of clients can be up to 750. We preferred this way because we assumed
> that this may be faster than a single queue with Message Selector pattern.
> We are satisfied with the process time but the memory consumption is
> constantly increasing even though we use TTL(=5 sec) for our messages when
> there is no consumer. As soon as the consumers are at work the memory
> consumtion starts to fall down. We concluded that if there is no consumer
> for an expired message, it is not removed from the memory.

If you want messages to be discarded for consumers that are not
available, why not use temporary queues, since they do exactly that
(delete all messages when a consumer goes away)?

> I read that this
> was one of the fixes in Snaphot-5.0.

So you could try 5.x?


View raw message