Skip to content

amqpx v1.0.1


amqpx / index / predefined / headersExchange

Function: headersExchange() ​

headersExchange(channel): Exchange

Defined in: src/predefined.ts:47

This will create a headers exchange that is created by default by RabbitMQ container.

The headers exchange has name amqp.headers, is durable, and has type headers.

Parameters ​

ParameterTypeDescription
channelChannelThe channel that should assert the exchange

Returns ​

Exchange

The exchange that was created

Released under the MIT License.