Skip to content

amqpx v1.0.1


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 ​

ParameterTypeDescription
channelChannelThe channel that should assert the exchange

Returns ​

Exchange

The exchange that was created

Released under the MIT License.