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

search for in the

AMQPQueue::cancel> <AMQPQueue::ack
[edit] Last updated: Fri, 17 May 2013

view this page in

AMQPQueue::bind

(PECL amqp >= Unknown)

AMQPQueue::bind指定したキューを、exchange 上のルーティングキーにバインドする

説明

public bool AMQPQueue::bind ( string $exchange_name , string $routing_key )

このメソッドは、exchange 上の指定したルーティングキーにキューをバインドします。

警告

この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。

パラメータ

exchange_name

バインドする exchange の名前。

routing_key

バインドするルーティングキー。

エラー / 例外

チャネルが開いていない場合に AMQPChannelException をスローします。

ブローカへの接続が途切れた場合に AMQPConnectionException をスローします。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。



add a note add a note User Contributed Notes AMQPQueue::bind - [1 notes]
up
0
gdr at go2 dot pl
1 year ago
If the bind() operation is blocking for you, make sure you're performing it on a fresh connection - use reconnect() or so. This took me hours to figure out.

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