UNPKG

rabbitmq-enterprise-toolkit

Version:

🚀 Enterprise-grade RabbitMQ wrapper for Node.js & TypeScript - High-throughput messaging with automatic retry, DLQ, batch processing & graceful shutdown. Production-ready AMQP client with zero message loss guarantee.

20 lines • 638 B
import { Channel } from 'amqplib'; import { ConnectionConfig } from '../types'; export declare class ConnectionManager { private config; private connection; private channel; private isReconnecting; private onReconnectedCallback?; constructor(config: ConnectionConfig); connect(): Promise<void>; reconnect(onReconnected?: () => Promise<void>): Promise<void>; getChannel(): Channel; isConnected(): boolean; close(): Promise<void>; private buildConnectionUrl; private setupConnectionHandlers; private handleConnectionError; private sleep; } //# sourceMappingURL=connection.d.ts.map