Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fmvilas/hermes-amqp

AMQP adapter for HermesJS
https://github.com/fmvilas/hermes-amqp

Last synced: 6 days ago
JSON representation

AMQP adapter for HermesJS

Awesome Lists containing this project

README

        

# hermesjs-amqp

AMQP adapter for [HermesJS](https://github.com/fmvilas/hermes).

## Installing

```
npm install hermesjs-amqp
```

## Example

```js
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](./example/index.js).

## Author

Fran Méndez ([fmvilas.com](https://fmvilas.com))