AMQPQueue
PHP Manual

AMQPQueue::bind

(PECL amqp >= Unknown)

AMQPQueue::bindBind the given queue to a routing key on an exchange.

Açıklama

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

The bind method will bind the given queue to the specified routing key on the given exchange.

Uyarı

Bu işlev hala belgelendirilmemiştir; sadece değiştirge listesi mevcuttur.

Değiştirgeler

exchange_name

The exchange name on which to bind.

routing_key

The routing key to which to bind.

Hatalar/İstisnalar

Throws AMQPChannelException if the channel is not open.

Throws AMQPConnectionException if the connection to the broker was lost.

Dönen Değerler

Başarı durumunda TRUE, başarısızlık durumunda FALSE döner.


AMQPQueue
PHP Manual