Intercambio de AMQP
PHP Manual

AMQPExchange::setType

(PECL amqp >= Unknown)

AMQPExchange::setTypeSet the type of the exchange

Descripción

public string AMQPExchange::setType ( string $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.

Advertencia

Esta función no está documentada actualmente, solamente se encuentra disponible la lista de parámetros.

Parámetros

exchange_type

The type of exchange as a string.

Valores devueltos

Devuelve TRUE en caso de éxito o FALSE en caso de error.


Intercambio de AMQP
PHP Manual