Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Commit

Permalink
fix (store type declare): add amqplib as store type
Browse files Browse the repository at this point in the history
  • Loading branch information
phucpnt committed Sep 10, 2016
1 parent 01b837d commit 860b1a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ Use with [amqplib](https://www.npmjs.com/package/amqplib)
```javascript
var ascoltatori = require('ascoltatori');
var settings = {
type: 'amqp',
type: 'amqplib',
json: false,
amqp: require('amqplib/callback_api'),
exchange: 'ascolatore5672'
Expand Down
1 change: 1 addition & 0 deletions lib/ascoltatori.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ module.exports.KafkaAscoltatore = require("./kafka_ascoltatore");
*/
var classes = {
"amqp": module.exports.AMQPAscoltatore,
"amqplib": module.exports.AMQPLibAscoltatore,
"trie": module.exports.TrieAscoltatore,
"eventemitter2": module.exports.EventEmitter2Ascoltatore,
"mqtt": module.exports.MQTTAscoltatore,
Expand Down

0 comments on commit 860b1a2

Please sign in to comment.