YAML configuration based RabbitMQ interface
Configuration based RabbitMQ interface based on node-amqp
npm install pigeon
An example of connecting to a server, publishing an event and receiving it
publishers:-name: greeteroptions:type: fanoutpublishes:- greetingsubscribers-name: receptionistbindings:greeter:- greeting
var Pigeon = require'pigeon'getInstance;Pigeonconnect'config.yml'publish'greeting' value:'Hello World'
var Pigeon = require'pigeon'getInstance;Pigeonconnect'config.yml'subscribe'receptionist'console.logmsg;;