downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

AMQPExchange::declare> <AMQPExchange::bind
[edit] Last updated: Fri, 24 Jun 2011

view this page in

AMQPExchange::__construct

(PECL amqp >= Unknown)

AMQPExchange::__constructCreate an instance of AMQPExchange

Description

AMQPExchange::__construct ( AMQPConnection $connection [, string $exchange_name = "" ] )

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.

Parameters

AMQPConnection

A valid AMQPConnection object, connected to a broker.

exchange_name

The name of an existing exchange to represent.

Return Values

An AMQPExchange object.

Errors/Exceptions

Throws AMQPExchangeException when connection is not connect to a broker.



add a note add a note User Contributed Notes AMQPExchange::__construct - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites