Skip to content

raptor


Class: QueueService

Defined in: packages/microservices/raptor/src/shared/queue.service.ts:7

Constructors

Constructor

new QueueService(): QueueService

Returns

QueueService

Methods

setupQueue()

setupQueue(queueConfig, channel): Promise<void>

Defined in: packages/microservices/raptor/src/shared/queue.service.ts:17

Sets up a queue with its associated dead letter exchange

Parameters

queueConfig

QueueConfig

Configuration for the queue

channel

Channel

The established channel between the RabbitMQ exchange and the client

Returns

Promise<void>

A promise that resolves to the channel when setup is complete