9.0.1 • Published 2 years ago

ms-socket.io-adapter-amqp v9.0.1

Weekly downloads
105
License
MIT
Repository
github
Last release
2 years ago

ms-socket.io-adapter-amqp

npm version Build Status

How to use

npm i ms-socket.io-adapter-amqp -S
const AdapterFactory = require('ms-socket.io-adapter-amqp');
const adapter = AdapterFactory.fromOptions(/* options object */);
const socketIO = require('socket.io')(3000);
socketIO.adapter(adapter);

Overview

By running socket.io with the ms-socket.io-adapter-amqp adapter you can run multiple socket.io instances in different processes or servers that can all broadcast and emit events to and from each other.

API

AdapterFactory.fromOptions(options)

options: @microfleet/transport-amqp options

Options that has no effect:

  • exchangeArgs.autoDelete (true)
  • exchangeArgs.type (direct)
  • defaultQueueOpts.autoDelete (true)
  • defaultQueueOpts.exclusive (true)

Changelog

  • Initial Release: 01.07.2016

License

MIT

9.0.1

2 years ago

9.0.0

2 years ago

8.1.2

2 years ago

8.1.1

3 years ago

8.1.0

3 years ago

8.0.1

3 years ago

8.0.0

3 years ago

7.0.1

4 years ago

7.0.0

4 years ago

6.0.0

5 years ago

5.0.0

7 years ago

4.0.0

7 years ago

3.1.0

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.0.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago