Thanks for your quick reply. We still need the messages for the consumers that are not available at the moment. The consumers are display devices and they can go off momentarily and when they come back the messages that were sent for them needs to be displayed.
We currently are using apache-activemq-5.0-20070702.220514-14. Is there any plan for fixing the memory problem for the non-persistent expired messages when there is no consumer around ? Thanks, Yunus. James.Strachan wrote: > > On 7/3/07, yunusbayraktar <[EMAIL PROTECTED]> 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? > > -- > James > ------- > http://macstrac.blogspot.com/ > > -- View this message in context: http://www.nabble.com/Urgent---please-help-tf4017651s2354.html#a11411165 Sent from the ActiveMQ - User mailing list archive at Nabble.com.