activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce Snyder <bruce.sny...@gmail.com>
Subject Re: How to send snapshot when client subscribes?
Date Sun, 29 Nov 2009 00:40:30 GMT
On Sat, Nov 28, 2009 at 2:15 PM, jaguarg <fotshudi@gmail.com> wrote:
>
> Hi,
>
> I would like to implement sending a snapshot value i.e. the last know
> message for a given topic as soon as the client subscribes (without having
> to wait for the next update).  What I mean is that when my client subscribes
> to a topic, they need to get sent the last known message for this topic.
>
> Is there way to achieve this with amq?

This is provided via the last image subscription recovery policy:

http://activemq.apache.org/subscription-recovery-policy.html

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

ActiveMQ in Action: http://bit.ly/2je6cQ
Blog: http://bruceblog.org/
Twitter: http://twitter.com/brucesnyder

Mime
View raw message