Package Exports
- hermesjs-amqp
- hermesjs-amqp/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hermesjs-amqp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
hermesjs-amqp
AMQP adapter for HermesJS.
Installing
npm install hermesjs-amqpExample
const Hermes = require('hermesjs');
const AmqpAdapter = require('hermesjs-amqp');
const app = new Hermes();
app.addAdapter(AmqpAdapter, {
topics: ['trip.requested', 'trip.changed'],
exchange: 'test',
});See a working example here.
Author
Fran Méndez (fmvilas.com)