[rabbitmq-discuss] Message timeouts

Matthias Radestock matthias at rabbitmq.com
Wed May 2 06:26:23 BST 2012


On 01/05/12 23:38, Alex Grönholm wrote:
> 30.04.2012 19:59, Matthias Radestock kirjoitti:
>> Right. Ideally you'd need a way to specify a dead-letter destination
>> *per message*. However, working with what is possible today, instead
>> you could just have a single "dead request" queue to which all expired
>> requests get routed. And then have a small app simply consuming
>> messages from that queue and replying to them with some sort of error
>> indication.
> That did occur to me, but if I was able to launch an "answering machine"
> app, why not the real one too while I'm at it?
> Thanks for the answer, but is there any hope for a real solution? Could
> this be cleanly done with a plugin?

Yep. It could be done cleanly with a plugin that employs the Erlang 
client in 'direct' mode to implement said "answering machine" app.

Of course if you take that approach to the extreme then you'd write your 
*entire* app as a plugin ;)


More information about the rabbitmq-discuss mailing list