[rabbitmq-discuss] set/getTimeout in RabbitMQ for PHP

Amol Kedar ajkedar at gmail.com
Tue Jul 16 23:10:11 BST 2013


hi i am trying  http://github.com/videlalvaro/php-amqplib

and it keeps giving me errors 
$ php amqp_consumer.php 
PHP Fatal error:  Class 'PhpAmqpLib\Connection\AMQPConnection' not found in 
/php-amqplib/demo/amqp_consumer.php on line 10

this is on ubuntu 10.04 and PHP 5.3.10-1ubuntu3
any clue?

On Thursday, June 27, 2013 3:40:07 AM UTC-4, Alvaro Videla wrote:
>
> Hi,
>
> I've never used this library. Maybe there's a bug there. Have you tried 
> contacted the library authors?
>
> In any case, there's also http://github.com/videlalvaro/php-amqplib which 
> supports timeouts on the "wait" method: 
> https://github.com/videlalvaro/php-amqplib/blob/master/PhpAmqpLib/Channel/AbstractChannel.php#L174
>
> Regards,
>
> Alvaro
>
>
>
> On Wed, Jun 19, 2013 at 8:40 AM, Iliya Isd <iliy... at gmail.com<javascript:>
> > wrote:
>
>> Hello! Having the next problem, maybe somebody has issued that. 
>> I'm trying to use the next function: 
>> http://php.net/manual/ru/amqpconnection.settimeout.php 
>> 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... 
>> Any ideas? 
>>
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq... at lists.rabbitmq.com <javascript:>
>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130716/74e9d61b/attachment.htm>


More information about the rabbitmq-discuss mailing list