Skip to content

amqpx v1.0.1


amqpx / index / ExchangeTypes

Type Alias: ExchangeTypes

ExchangeTypes = Parameters<amqp.Channel["assertExchange"]>[1]

Defined in: src/exchange/types.ts:14

The type of exchange to create. Accepted values: 'direct', 'fanout', 'topic', 'headers', 'match'.

Passed as the second argument to channel.assertExchange in the amqplib API.

See

https://amqp-node.github.io/amqplib/channel_api.html

Released under the MIT License.