AMQPExchange::setName

(PECL amqp >= Unknown)

AMQPExchange::setNameSet the name of the exchange

Description

public void AMQPExchange::setName ( string $exchange_name )

Set the name of the exchange.

Parameters

exchange_name

The name of the exchange to set as string.

Return Values

Returns TRUE on success or FALSE on failure.