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::bindBind the given queue to a routing key on an exchange.

Descrierea

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.

Avertizare

Această funcție nu este documentată în prezent; este disponibilă numai lista sa de argumente.

Parametri

exchange_name

The exchange name on which to bind.

routing_key

The routing key to which to bind.

Erori/Excepții

Throws AMQPChannelException if the channel is not open.

Throws AMQPConnectionException if the connection to the broker was lost.

Valorile întoarse

Întoarce valoarea TRUE în cazul succesului sau FALSE în cazul eșecului.



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 | stats | sitemap | contact | advertising | mirror sites