(PECL amqp >= Unknown)
AMQPExchange::setType — Set the type of the exchange
$exchange_type
)
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.
Esta função não está documentada; somente a lista de argumentos está disponível.
exchange_type
The type of exchange as a string.
Retorna TRUE em caso de sucesso ou FALSE em caso de falha.