[rabbitmq-discuss] Error in declaring a queue.
kvredy87 at gmail.com
Wed Jul 3 07:24:13 BST 2013
I am trying to declare a queue in RabbitMQ with php.
Here is my code
$this->queue = new AMQPQueue($this->channel); //channel is already
created. am omitting that code from here
$amqp -> declareQueue("myqueue");
This part of code is giving an error when there is no queue in RabbitMQ.
the error is:
PHP Fatal error: Uncaught exception 'AMQPQueueException' with message
'Server channel error: 404, message: NOT_FOUND - no queue 'myqueue' in
Every thing is going fine when the queue is already created in Rabbitmq.
Any help please.
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss