<div dir="ltr">If you do figure out how to use client timeouts, you may also want to consider using per-message TTL if you don't care about the message anymore after a timeout. This can save unnecessary processing of messages that no longer have an interested participant. On the other hand, if you want the message processed, even after the client times out, then you better not do this.<div>
<br></div><div><a href="https://www.rabbitmq.com/ttl.html#per-message-ttl">https://www.rabbitmq.com/ttl.html#per-message-ttl</a></div><div><br></div><div style>-Chris</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Jun 11, 2013 at 11:41 AM, Tim Watson <span dir="ltr"><<a href="mailto:tim@rabbitmq.com" target="_blank">tim@rabbitmq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><div class="im"><div>On 11 Jun 2013, at 01:53, JayD wrote:</div><blockquote type="cite">All information is old that I have seen on this. Is there yet a way to define a client side timeout on an rpc style call. I find it hard to believe that one would have to leave the request hanging if the server is not up and running.<div>
<br></div></blockquote><blockquote type="cite"><div>Does anyone have a good solution for this at this point in time? On the client side I am using pika.</div><div><br></div></blockquote><div><br></div></div><div>This kind of problem is generally solved using threads, or some kind of non-blocking I/O event loop. I have no idea how Pika does it - I think it depends on which kind of consumer you've set up - but I'd suggest you try asking on the pika mailing list - <a href="https://groups.google.com/forum/#%21forum/pika-python" rel="nofollow" link="external" target="_blank">https://groups.google.com/forum/#!forum/pika-python</a>.</div>
<div><br></div><div>Cheers,</div><div>Tim</div></div></div><br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>