<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
There is setTimeout(),setReadTimeout(),setWriteTimeout().
setTimeout is deprecated in the latest version. <br>
<br>
These timeouts does not work if you are having problems in
connection time. They all works after client is connected. There
is an issue about this:
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="https://github.com/pdezwart/php-amqp/issues/63">https://github.com/pdezwart/php-amqp/issues/63</a><br>
<br>
Regards,<br>
Umutcan<br>
On 06/27/2013 10:40 AM, Alvaro Videla wrote:<br>
</div>
<blockquote
cite="mid:CAMcAHLXAisK-ou6PDNZLSqsq5YDd8sfizDRMtLbtsdXziDo06w@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hi,</div>
<div><br>
</div>
<div>I've never used this library. Maybe there's a bug there.
Have you tried contacted the library authors?</div>
<div><br>
</div>
<div>In any case, there's also <a moz-do-not-send="true"
href="http://github.com/videlalvaro/php-amqplib">http://github.com/videlalvaro/php-amqplib</a>
which supports timeouts on the "wait" method: <a
moz-do-not-send="true"
href="https://github.com/videlalvaro/php-amqplib/blob/master/PhpAmqpLib/Channel/AbstractChannel.php#L174">https://github.com/videlalvaro/php-amqplib/blob/master/PhpAmqpLib/Channel/AbstractChannel.php#L174</a></div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>Alvaro</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Jun 19, 2013 at 8:40 AM, Iliya
Isd <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:iliyaisd@gmail.com" target="_blank">iliyaisd@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!
Having the next problem, maybe somebody has issued that.
<div>I'm trying to use the next function: </div>
<div>
<a moz-do-not-send="true"
href="http://php.net/manual/ru/amqpconnection.settimeout.php"
target="_blank">http://php.net/manual/ru/amqpconnection.settimeout.php</a> <br>
</div>
<div>but nothing changes. Timeout isn't working. Thereby
there's no way to avoid hanging up the site when trying to
send message to rabbitMQ... </div>
<div>Any ideas? </div>
</blockquote>
</div>
</div>
</blockquote>
<br>
</body>
</html>