(PECL amqp >= Unknown)
AMQPQueue::bind — Bind the given queue to a routing key on an exchange.
$exchange_name
, string $routing_key
)The bind method will bind the given queue to the specified routing key on the given exchange.
本函数还未编写文档,仅有参数列表。
exchange_name
The exchange name on which to bind.
routing_key
The routing key to which to bind.
Throws AMQPChannelException if the channel is not open.
Throws AMQPConnectionException if the connection to the broker was lost.
成功时返回 TRUE
, 或者在失败时返回 FALSE
。