@rxap/nest-rabbitmq
Version:
This package provides a NestJS module for integrating with RabbitMQ using exchanges. It offers a client and server implementation for message queuing and supports features like health checks and error serialization. It simplifies the process of setting up
14 lines (13 loc) • 436 B
TypeScript
import { Logger } from '@nestjs/common';
import { ConfigService } from '@nestjs/config';
import { BaseRmqOptions } from './options';
export declare class RabbitmqOptionsFactory {
protected readonly config: ConfigService;
protected readonly logger: Logger;
build(): Promise<BaseRmqOptions>;
getCredentials(): Promise<{
username: string;
password: string;
} | null>;
buildUrl(): Promise<string>;
}