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: Fri, 17 May 2013

view this page in

AMQPExchange::bind

(PECL amqp >= Unknown)

AMQPExchange::bindSe lie à un autre échange

Description

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

Lie un échange à un autre échange en utilisant la clé de routage spécifié.

Liste de paramètres

destination_exchange_name

Le nom de l'échange cible.

source_exchange_name

Le nom de l'échange source.

routing_key

La clé à utiliser pour le lien.

Valeurs de retour

Cette fonction retourne TRUE en cas de succès ou FALSE si une erreur survient.

Erreurs / Exceptions

Émets une exception AMQPExchangeException si une erreur survient.

Émets une exception AMQPChannelException si le canal n'est pas ouvert.

Émets une exception AMQPConnectionException si la connexion au broker a été perdue.



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 | stats | sitemap | contact | advertising | mirror sites