amqpx / index / predefined / matchExchange
Function: matchExchange()
matchExchange(
channel):Exchange
Defined in: src/predefined.ts:65
This will create a match exchange that is created by default by RabbitMQ container. Behaves the same as headers exchange, but has a different name.
The match exchange has name amqp.match, is durable, and has type match.
Parameters
| Parameter | Type | Description |
|---|---|---|
channel | Channel | The channel that should assert the exchange |
Returns
The exchange that was created