Create an exchange based chain
instance of Exchange
Add an exchange to the chain.
name of the exchange
exchange type, defaults to Direct
Optional
opts: Partial<ExchangeOptions>exchange options that will be passed to amqplib while asserting amqplib#assertExchange
Create a queue based chain
Create a queue based chain
name of the queue
Optional
opts: AssertQueueoptional parameters to pass to amqplib#AssertQueue
Generated using TypeDoc
Cancel all consumers, wait for them to finish processing their messages and then close the connection to the broker