You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by jaguarg <fo...@gmail.com> on 2009/11/28 22:15:37 UTC
How to send snapshot when client subscribes?
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?
Thanks
--
jaguarg
--
View this message in context: http://old.nabble.com/How-to-send-snapshot-when-client-subscribes--tp26557029p26557029.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: How to send snapshot when client subscribes?
Posted by Bruce Snyder <br...@gmail.com>.
On Sat, Nov 28, 2009 at 2:15 PM, jaguarg <fo...@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