(PECL amqp >= Unknown)
AMQPExchange::__construct — Create an instance of AMQPExchange
Returns a new instance of an AMQPExchange object, associated with the given AMQPChannel object.
A valid AMQPChannel object, connected to a broker.
An AMQPExchange object.
Throws AMQPExchangeException when
amqp_channel is not connected to a broker.
Throws AMQPConnectionException if the connection to the broker was lost.