Important note: this library needs nodejs 8 or greater.
npm i multines --save
See the examples folder.
'mongodb', if nothing is specified it will use the in-memory MQEmitter
[mq]- an instance of MQEmitter, if you do not want to leverage the embedded constructor
server.subscription(path, options) adding the ability to receive messages from the MQEmitter-based broker.
The subscription supported is slightly different from nes, as it allows wildcards.
Publish a message to the MQEmitter-based broker.
This project was kindly sponsored by nearForm.