AMQPExchange
PHP Manual

AMQPExchange::bind

(PECL amqp >= Unknown)

AMQPExchange::bindThe bind purpose

Description

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

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

Parameters

queue_name

The name of the queue to which to bind.

routing_key

The routing key to use as a binding.

Return Values

Returns TRUE on success or FALSE on failure.

Errors/Exceptions

Throws AMQPExchangeException on failure.


AMQPExchange
PHP Manual