You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by itamara <av...@gmail.com> on 2010/10/10 10:54:05 UTC
Making sure a message was consumed (client acknowledge, time to
live)
hi all,
I'm looking for a way to verify that a message was consumed, in a given
time(!), and to react to a situation when the message was not consumed in
that time.
I'm setting the destination with CLIENT_ACKNOWLEDGE, and the message with my
TimeToLive value.
What I need is some listener on the session's event of expiring a message,
resulted from a TimeToLive timeout.
I did not find any documentation for such a thing. As far as I know, when
TimeToLive is reached, the session just kill and drop the message.
Does anyone know something else? listening to a message's timeout?
10x
Itamara
--
View this message in context: http://activemq.2283324.n4.nabble.com/Making-sure-a-message-was-consumed-client-acknowledge-time-to-live-tp2970107p2970107.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Making sure a message was consumed (client acknowledge, time to live)
Posted by Dejan Bosanac <de...@nighttale.net>.
Hi,
you can use advisory messages and receive events when message is
expired on an appropriate topic
http://activemq.apache.org/advisory-message.html
Cheers
--
Dejan Bosanac - http://twitter.com/dejanb
Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net
On Sun, Oct 10, 2010 at 10:54 AM, itamara <av...@gmail.com> wrote:
>
> hi all,
>
> I'm looking for a way to verify that a message was consumed, in a given
> time(!), and to react to a situation when the message was not consumed in
> that time.
>
> I'm setting the destination with CLIENT_ACKNOWLEDGE, and the message with my
> TimeToLive value.
>
> What I need is some listener on the session's event of expiring a message,
> resulted from a TimeToLive timeout.
> I did not find any documentation for such a thing. As far as I know, when
> TimeToLive is reached, the session just kill and drop the message.
>
> Does anyone know something else? listening to a message's timeout?
>
> 10x
> Itamara
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Making-sure-a-message-was-consumed-client-acknowledge-time-to-live-tp2970107p2970107.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>