You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by LiXiao2007 <Li...@gmail.com> on 2007/03/09 16:25:09 UTC
Delayed Delivery of Messsages
Does Activemq have the capability of delaying the delivery of the messages.
Here is something we would like to do in our retry logic.
Get a message from queue and talk to the backend.
If there is an error from the backend, post a retry message back to the
queue.
But we would like the message server delay the delivery of the message to
the subscriber so we give the backend sometime to recover.
Thanks!
--
View this message in context: http://www.nabble.com/Delayed-Delivery-of-Messsages-tf3376241s2354.html#a9396250
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Delayed Delivery of Messsages
Posted by James Strachan <ja...@gmail.com>.
On 3/9/07, LiXiao2007 <Li...@gmail.com> wrote:
> Does Activemq have the capability of delaying the delivery of the messages.
We don't yet support arbitrary delayed message delivery...
http://issues.apache.org/activemq/browse/AMQ-499
> Here is something we would like to do in our retry logic.
>
> Get a message from queue and talk to the backend.
> If there is an error from the backend, post a retry message back to the
> queue.
>
> But we would like the message server delay the delivery of the message to
> the subscriber so we give the backend sometime to recover.
Sounds like you need to use the RedeliveryPolicy...
http://cwiki.apache.org/ACTIVEMQ/redelivery-policy.html
--
James
-------
http://radio.weblogs.com/0112098/