(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
.
本函数还未编写文档,仅有参数列表。
exchange_type
The type of exchange as a string.
成功时返回 TRUE
, 或者在失败时返回 FALSE
。