You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by kenjackson <kj...@gmail.com> on 2009/08/24 18:40:49 UTC
get number of redeliveries of a Message?
I was wondering if there was a way to tell how many times a particular
message has been redelivered due to exception?
I know there is a redelivered flag in the Message object, but is there a way
to tell how many times the particular message has been redelivered and if it
is going to hit the max number of redeliveries and get stored in the DLQ?
Thanks in advance.
--
View this message in context: http://www.nabble.com/get-number-of-redeliveries-of-a-Message--tp25119359p25119359.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: get number of redeliveries of a Message?
Posted by Gary Tully <ga...@gmail.com>.
msg.getLongProperty("JMSXDeliveryCount")
2009/8/24 kenjackson <kj...@gmail.com>
>
> I was wondering if there was a way to tell how many times a particular
> message has been redelivered due to exception?
>
> I know there is a redelivered flag in the Message object, but is there a
> way
> to tell how many times the particular message has been redelivered and if
> it
> is going to hit the max number of redeliveries and get stored in the DLQ?
>
> Thanks in advance.
> --
> View this message in context:
> http://www.nabble.com/get-number-of-redeliveries-of-a-Message--tp25119359p25119359.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>
--
http://blog.garytully.com
Open Source Integration
http://fusesource.com