The 5th Annual China PHP Conference

AMQPExchange::bind

(PECL amqp >= Unknown)

AMQPExchange::bindThe bind purpose

Description

public bool AMQPExchange::bind ( string $queue_name , string $routing_key )

Bind an exchange to a queue using the specified routing key.

Parameters

queue_name

The name of the queue to which to bind.

routing_key

The routing key to use as a binding.

Return Values

Returns TRUE on success or FALSE on failure.

Errors/Exceptions

Throws AMQPExchangeException on failure.

add a note add a note

User Contributed Notes

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