AMQPExchange
PHP Manual

AMQPExchange::bind

(PECL amqp >= Unknown)

AMQPExchange::bindThe bind purpose

Описание

public bool AMQPExchange::bind ( string $queue_name , string $routing_key )

Bind an exchange to a queue using the specified routing key.

Список параметров

queue_name

The name of the queue to which to bind.

routing_key

The routing key to use as a binding.

Возвращаемые значения

Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.

Ошибки

Throws AMQPExchangeException on failure.


AMQPExchange
PHP Manual