You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by stratio <st...@hotmail.it> on 2011/08/30 12:00:53 UTC
Retrieve last message published in a topic
Hello, this is my situation:
I have a topic on which i publish several messages and after the last one i
stop publishing on the topic.
Later I subscribe to this topic with an AJAX client.
Is there a way to recover the last message published on the topic so that
the client can receive it?
--
View this message in context: http://activemq.2283324.n4.nabble.com/Retrieve-last-message-published-in-a-topic-tp3778352p3778352.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Retrieve last message published in a topic
Posted by "Martin C." <ma...@gmx.at>.
Hi,
you may look into "retroactive consumers" and "retroactive
subscriptions". For a starting point, visit
http://activemq.apache.org/retroactive-consumer.html and
http://activemq.apache.org/subscription-recovery-policy.html
Best regards,
Martin
On Tue, Aug 30, 2011 at 12:00 PM, stratio <st...@hotmail.it> wrote:
> Hello, this is my situation:
>
> I have a topic on which i publish several messages and after the last one i
> stop publishing on the topic.
>
> Later I subscribe to this topic with an AJAX client.
>
> Is there a way to recover the last message published on the topic so that
> the client can receive it?
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Retrieve-last-message-published-in-a-topic-tp3778352p3778352.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>