activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fateev, Maxim" <>
Subject RE: Paging support
Date Wed, 30 Aug 2006 16:29:01 GMT
My first step is refactoring ActiveMQ to allow alternative implementations of Queue without
breaking existing code. I've submitted the patch (
to achieve this. Patch got out of sync since submitted. I'm planning to get new version of
it out today. 

Next step will be submitting Queue implementation that uses alternative Storage API and provide
such storage implementation. I think it will take a while before such implementation is production

-----Original Message-----
From: pradeep [] 
Sent: Tuesday, August 29, 2006 10:15 PM
Subject: RE: Paging support

That would be nice. When would that be implemented ?

Fateev, Maxim wrote:
> AFAIK messages are moved from journal to permantent storage (JDBC) on 
> every checkpoint. The problem is that references for every message are 
> still kept in memory.
> IMHO it is inherent limitation of MessageStore API as it is defined now.
> The only way to get message is by id. And the only way to have id is 
> to keep it in memory.
> I'm looking into changing MessageStore API to one that instead of
> Message 	getMessage(MessageId identity) 
> Would provide
> Message getNextMessage()
> method eliminating need to keep references in memory.
> -----Original Message-----
> From: Anders Bengtsson []
> Sent: Tuesday, August 29, 2006 1:23 AM
> To:
> Subject: Re: Paging support
> gnodet wrote:
>> If you don' t use any persistent store, messages must be kept in 
>> memory, so you are obvisouly limited by the available mem.
> Yes, this is what I would expect.
>> If you use a jdbc store, messages can be removed from memory and 
>> store for later consumption.
> Yes, except it doesn't actually work!
> It writes things to the store, but it is still very much limited by 
> memory for some reason. (Someone reported this as AMQ-845 earlier, but 
> with no response).
> --
> View this message in context:
> Sent from the ActiveMQ - User forum at

View this message in context:
Sent from the ActiveMQ - User forum at

View raw message