Use AMQPExchange::declareExchange() and AMQPQueue::declareQueue() as the main methods.
(PECL amqp >= Unknown)
AMQPQueue::declare — Declare a new queue
Declare a new queue on the broker.
Throws AMQPChannelException if the channel is not open.
Throws AMQPConnectionException if the connection to the broker was lost.
Returns the message count.