(PECL amqp >= Unknown)
AMQPExchange::setType — Set the type of the exchange
Set the type of the exchange. This can be any of AMQP_EX_TYPE_DIRECT, AMQP_EX_TYPE_FANOUT, AMQP_EX_TYPE_HEADER or AMQP_EX_TYPE_TOPIC.
This function is currently not documented; only its argument list is available.
The type of exchange as a string.
Returns TRUE on success or FALSE on failure.