(PECL amqp >= Unknown)
AMQPExchange::__construct — Create an instance of AMQPExchange
Returns a new instance of an AMQPExchange object, associated with the given AMQPConnection object. If the exchange_name parameter is specified and the an exchange by that name exists on the broker, an instance of that specific exchange will be returned. Otherwise, the exchange_name is ignored.
A valid AMQPConnection object, connected to a broker.
The name of an existing exchange to represent.