UNPKG

inceptum

Version:

hipages take on the foundational library for enterprise-grade apps written in NodeJS

26 lines (25 loc) 598 B
export declare enum BackPressureStrategy { ERROR = 0, BLOCK = 1, } export interface RabbitmqClientConfig { protocol?: string; hostname: string; port: number; username: string; password: string; } export interface RabbitmqProducerConfig { exchangeName: string; backPressureStrategy: BackPressureStrategy; } export interface RabbitmqConsumerConfig { appQueueName: string; delayQueueName: string; dlqName: string; maxRetries: number; retryDelayInMinute: number; retryDelayFactor: number; messageHandler?: string; options?: object; }