@nestjstools/microservices-rabbitmq
Version:
Transport layer for NestJS Microservices with more configurations for RabbitMQ
15 lines (14 loc) • 323 B
TypeScript
export interface AmqpTransportOptions {
url: string;
queue: string;
exchange: string;
exchangeType: ExchangeType;
bindingKeys: string[];
avoidNoHandlerError?: boolean;
autoCreate?: boolean;
}
export declare enum ExchangeType {
TOPIC = "topic",
FANOUT = "fanout",
DIRECT = "direct"
}