|
AMQPExchange::declareDeclare a new exchange on the broker. Description
public int AMQPExchange::declare
( void
)
Declare a new exchange on the broker. Parameters
Return Values
Returns Errors/ExceptionsThrows AMQPExchangeException on failure. Throws AMQPChannelException if the channel is not open. Throws AMQPConnectionException if the connection to the broker was lost. Examples
Example #1 AMQPExchange::declare example
<?php |