@nam088/nestjs-rabbitmq
Version:
A comprehensive RabbitMQ module for NestJS with decorator-based message handling
11 lines (10 loc) • 383 B
TypeScript
export declare const RABBIT_HANDLER_METADATA = "RABBIT_HANDLER_METADATA";
export interface RabbitHandlerOptions {
connectionName?: string;
exchange?: string;
noAck?: boolean;
prefetchCount?: number;
queue?: string;
routingKey?: string;
}
export declare const RabbitHandler: (options: RabbitHandlerOptions) => import("@nestjs/common").CustomDecorator<string>;