amqpx / index / predefined / fanoutExchange
Function: fanoutExchange()
fanoutExchange(
channel):Exchange
Defined in: src/predefined.ts:30
This will create a fanout exchange that is created by default by RabbitMQ container.
The fanout exchange has name amqp.fanout, is durable, and has type fanout.
Parameters
| Parameter | Type | Description |
|---|---|---|
channel | Channel | The channel that should assert the exchange |
Returns
The exchange that was created