UNPKG

@nestjstools/messaging-rabbitmq-extension

Version:

Extension to handle messages and dispatch them over AMQP protocol

14 lines 626 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AmqpMessageOptions = void 0; class AmqpMessageOptions { constructor(exchangeName = undefined, routingKey = undefined, middlewares = [], headers = {}, avoidErrorsWhenNotExistedHandler = undefined) { this.exchangeName = exchangeName; this.routingKey = routingKey; this.middlewares = middlewares; this.headers = headers; this.avoidErrorsWhenNotExistedHandler = avoidErrorsWhenNotExistedHandler; } } exports.AmqpMessageOptions = AmqpMessageOptions; //# sourceMappingURL=amqp-message-options.js.map