1.0.0 • Published 8 years ago

deepstream.io-msg-amqp v1.0.0

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
8 years ago

deepstream.io-msg-amqp Build npm version

A deepstream.io cache connector for amqp This connector uses the npm amqp package. Please have a look there for detailed options.

##Basic Setup

plugins:
  message:
    name: amqp
    options:
      host: ${AMQP_HOST}
      port: ${AMQP_PORT}
var Deepstream = require( 'deepstream.io' ),
    AMQPConnector = require( 'deepstream.io-cache-amqp' ),
    server = new Deepstream();

server.set( 'cache', new AMQPConnector( {
  port: 5672,
  host: 'localhost'
}));

server.start();