evque
AMQP-based event bus.
Installation
npm i evque --save
Description
Each event
= exchange
of fanout
type, named after event.
Each subscriber
= queue
bound to exchange
, named after event and subscriber.
Motivation
- simple project bootstrap
- events are preserved across broker restarts
- events will wait for their listeners (will not disappear if listener is offline)
Example
var bus = 'amqp://localhost'; bus; bus; bus; bus; bus;
License
MIT