activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hiram Chirino <hi...@hiramchirino.com>
Subject Re: Can we have some kind of semi-persistence?
Date Tue, 22 Feb 2011 15:08:05 GMT
So that's the default behavior of the Apollo based broker, but not
ActiveMQ 5.x.  Think the best you can do is to send messages async to
the broker, with persistence enabled.

Regards,
Hiram

FuseSource
Web: http://fusesource.com/




On Tue, Feb 22, 2011 at 2:43 AM, Lionel Cons <lionel.cons@cern.ch> wrote:
> As far as I understand, we currently have two opposite behaviours.
>
> With persistence, received messages are safely stored on disk,
> yielding to low receive rates. When the broker restarts (either after
> a crash or a voluntary restart), these messages are still available.
>
> Without persistence, received messages are only stored in memory,
> yielding to high receive rates. However, these messages are lost after
> a restart, even a voluntary one.
>
> Is there a way to tell ActiveMQ to store the non-persistent messages
> to disk (and keep them upon restart) when it has time to do so?
>
> Ideally, it would be nice to have a per destination policy that would
> swap to disk non-persistent messages that have not been consumed for
> some (configurable) time. It would have two benefits: freeing memory
> and allowing to preserve these messages after a broker restart.
>
> Cheers,
>
> Lionel Cons
>

Mime
View raw message