mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
31 lines
667 B
TypeScript
31 lines
667 B
TypeScript
export interface RmqUrl {
|
|
protocol?: string;
|
|
hostname?: string;
|
|
port?: number;
|
|
username?: string;
|
|
password?: string;
|
|
locale?: string;
|
|
frameMax?: number;
|
|
heartbeat?: number;
|
|
vhost?: string;
|
|
}
|
|
|
|
export interface AmqpConnectionManagerSocketOptions {
|
|
reconnectTimeInSeconds?: number;
|
|
heartbeatIntervalInSeconds?: number;
|
|
findServers?: () => string | string[];
|
|
connectionOptions?: any;
|
|
}
|
|
|
|
export interface AmqplibQueueOptions {
|
|
durable?: boolean;
|
|
autoDelete?: boolean;
|
|
arguments?: any;
|
|
messageTtl?: number;
|
|
expires?: number;
|
|
deadLetterExchange?: string;
|
|
deadLetterRoutingKey?: string;
|
|
maxLength?: number;
|
|
maxPriority?: number;
|
|
}
|