[rabbitmq-discuss] Persistant/Semaphore

Michael Klishin mklishin at gopivotal.com
Mon Jun 9 06:03:30 BST 2014


On 9 June 2014 at 08:57:56, Larry Lewis (larry.gooroo at gmail.com) wrote:
> > > $exchange = 'Site.Offline';
> > $channel->exchange_declare( $exchange, 'x-lvc', false,  
> true, false);
> > $msg = $channel->basic_get( $exchange );
> > echo " [x] Received ", $msg->body, "\n";
> >
> > $channel->close();
> > $connection->close();
>  
> Error Message basically -> no queue 'Site.Offline'

Your code does not declare a queue named 'Site.Offline'.  This has nothing
to do with exchange type.

I recommend taking a look at the tutorials:
http://www.rabbitmq.com/getstarted.html

and protocol overview:

http://www.rabbitmq.com/tutorials/amqp-concepts.html
--  
MK  

Software Engineer, Pivotal/RabbitMQ


More information about the rabbitmq-discuss mailing list