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.

13 lines • 488 B
import { Channel, ConsumeMessage } from 'amqplib'; import { QueueOptions } from '../types'; export declare class RetryHandler { private getChannel; constructor(getChannel: () => Channel); handleRetry(msg: ConsumeMessage, options: QueueOptions, error: unknown): Promise<void>; private retryMessage; private createRetryQueue; private buildRetryHeaders; private publishToRetryQueue; private sendToDeadLetterQueue; } //# sourceMappingURL=retry-handler.d.ts.map