AMQPQueue::bind

(PECL amqp >= Unknown)

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

Beskrivelse

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.

Advarsel

This function is currently not documented; only its argument list is available.

Parametre

exchange_name

The exchange name on which to bind.

routing_key

The routing key to which to bind.

Fejl/Undtagelser

Throws AMQPChannelException if the channel is not open.

Throws AMQPConnectionException if the connection to the broker was lost.

Returnerings Værdier

Returns TRUE on success or FALSE on failure.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top