activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <>
Subject Re: Special buffer queue
Date Mon, 19 Nov 2012 08:55:43 GMT

yes there is. Take a look at subscription recovery policy

and retroactive consumer

Dejan Bosanac
Red Hat, Inc.
FuseSource is now part of Red Hat
Twitter: @dejanb
ActiveMQ in Action:

On Sun, Nov 18, 2012 at 4:03 AM, srobinson <> wrote:
> Hello,
> I am currently trying to use ActiveMQ for the following use-case:
> I have a widget that waits for incoming topic messages that comes every 5
> minutes and display the content. It works great, but obviously, when I start
> the widget, it is empty until the next message comes in, which is not ideal
> as it could take up to 5 minute. Ideally it could load the content from the
> latest message that was broadcasted on the system.
> One solution: I could setup a central database (e.g. MySQL) somewhere which
> role is just to persist the latest message received on that topic and serve
> it to widgets when they start.
> But I wonder if ActiveMQ has a feature that would avoid me having another
> moving part in my system, like some kind of special queue or round buffer
> which holds the latest X messages broad-casted on a given topic, and let my
> widget "peek" the last few messages when starting.
> Any idea?
> Thanks in advance!
> SR
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

View raw message