Delete the exchange from the broker.
public delete ( string $exchangeName = null, integer $flags = AMQP_NOPARAM ) : boolean | ||
$exchangeName | string | Optional name of exchange to delete. |
$flags | integer | Optionally AMQP_IFUNUSED can be specified to indicate the exchange should not be deleted until no clients are connected to it. |
return | boolean | true on success or false on failure. |