UNPKG

@nam088/nestjs-rabbitmq

Version:

A comprehensive RabbitMQ module for NestJS with decorator-based message handling

8 lines 449 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.InjectRabbitMQ = void 0; const common_1 = require("@nestjs/common"); const constants_1 = require("../constants"); const InjectRabbitMQ = (connectionName = constants_1.DEFAULT_CONNECTION_NAME) => (0, common_1.Inject)(`${constants_1.RABBITMQ_SERVICE}_${connectionName}`); exports.InjectRabbitMQ = InjectRabbitMQ; //# sourceMappingURL=inject-rabbitmq.decorator.js.map