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 1 note

up
0
maik dot penz at foobugs dot com
2 years ago
At least the current version (1.0.7) uses

function bind($exchangeName, $routingKey[, $flags]);
To Top