egg-mq
Install
$ npm i egg-mq --save
Usage
// {app_root}/config/plugin.jsexportsmq = enable: true package: 'egg-mq';
Configuration
// {app_root}/config/config.default.jsconst mq = ; exportsmq = rabbitmq: address port username password ...mq;
// /config/mq.json
Example
// producerctxservicemq;// ctx.service.consumerasync { ctxlogger;}
Questions & Suggestions
Please open an issue here.