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

search for in the

AMQPExchange::__construct> <AMQPExchange
[edit] Last updated: Sat, 25 May 2013

view this page in

AMQPExchange::bind

(PECL amqp >= Unknown)

AMQPExchange::bindBind to another exchange

Descrierea

public bool AMQPExchange::bind ( string $destination_exchange_name , string $source_exchange_name , string $routing_key )

Bind an exchange to another exchange using the specified routing key.

Parametri

destination_exchange_name

The name of the destination exchange in the binding.

source_exchange_name

The name of the source exchange in the binding.

routing_key

The routing key to use as a binding.

Valorile întoarse

Întoarce valoarea TRUE în cazul succesului sau FALSE în cazul eșecului.

Erori/Excepții

Throws AMQPExchangeException on failure.

Throws AMQPChannelException if the channel is not open.

Throws AMQPConnectionException if the connection to the broker was lost.



add a note add a note User Contributed Notes AMQPExchange::bind - [1 notes]
up
0
maik dot penz at foobugs dot com
6 months ago
At least the current version (1.0.7) uses

function bind($exchangeName, $routingKey[, $flags]);

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