[rabbitmq-discuss] Message timeouts

Valentin BERNARD vbernard42 at gmail.com
Fri Dec 2 12:12:28 GMT 2011


Hi,

If your clients publish messages with the mandatory flag set, they
will get a Basic.Return from the server if the message can't be routed
to a queue. Does that solve your problem?

Java example: http://www.rabbitmq.com/api-guide.html#returning

Cheers,

Valentin.

On 2 déc, 12:33, Alex Grönholm <alex.gronh... at nextday.fi> wrote:
> I've developed an RPC system using RabbitMQ (with different semantics than
> the built-in RPC). I'd like to get the server to send the client some kind
> of a notification if a message it has sent will never be delivered (like if
> the queue which it was routed to was deleted before the message was
> consumed from it). Is there any way to accomplish this? Client side
> timeouts are not good enough either because the request might get processed
> at some point then anyway.
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-disc... at lists.rabbitmq.comhttps://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


More information about the rabbitmq-discuss mailing list