RabbitMQ JSON Messager
This library helps you to handle all messages have been published in the host and the channel which you have defined.
$ npm install rabbit-mq-json-messager --save
Configurations
AMQP_HOSTNAME=amqp://localhost
AMQP_CHANNEL=hello
Usage
var amqp = require('amqplib/callback_api');
var rabbitMq = new RabbitMQ(amqp, function (message) {
console.log(message);
});