Skip to content

Commit

Permalink
Merge pull request #10 from sensibill/PROD-3006-use-two-excahnges
Browse files Browse the repository at this point in the history
PROD-3006: Allow the use of two excahnges
  • Loading branch information
sgiacomel committed Sep 2, 2016
2 parents 5ec579b + c37ef1f commit 4cbc92d
Show file tree
Hide file tree
Showing 7 changed files with 216 additions and 230 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ script:
notifications:
slack:
secure: tN1UQigex76MAowf1qCnRfOM0wY3ox/UGwy9S5fDJ8kMoyuFgQ56yMo+SyFPbBgQr28RzlLLxM7iKoBoEiXuTolCaDS0M/hJgxceD9bUaZXCJK7lfSYMDYdQdiykbWYlewINJJTVX+x1SumlZIpgOKUNahR6xMssIxNyM/aUSiBwB4XMntLqJEgVvIUj/1pMS2UICSTURMvvD/TcNFcM3wnYS21ERzmZQUObYnMTTw1OzMtwYB6mrUuKtcwhkTwcV69By3/h0dOIxMliBqrshPwO/P116m2bNatE+p/QoikS1Ulbd9QQo2Ei6ScHG71nj9/qB4ruqCyq9DtC/Ceb3Nb8qQWFNx4XPSjiQfifDRzRiCrEc50MkudAVJkDQUhgKw13EHd2Zj7rV+q0ngZUqRslfynnuderQ7ubHNlNJs8ki4o2m6n1WpOQUb+3vaGfIzkUzNQ0qDXuA9X8vrpLfS1aaVnldCjLnM6d2Q0qjgWXIMKMDen//g85KwCweolj8gy/1rZWowBIqGTXP6YFHzPSiCk6tDafpzFKT8btRB3tQFSXh/REwewBNlKJfyHVqJlMmnycjO4LqpQxNBYPQ8VoG6nhBYMEpTjRUFFEWpSlG9QV1EuY98UKFN70k83CyTKOh3CrMNELBjDcCjsNn7gAZXV01Wios4hDHvy5fVU=
email: false
10 changes: 10 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Changelog
=========

## New in 1.0.0

- ES6 requirement: The following es6 features are now used
- `let` and `const` keywords
- arrow functions
- New `useInputExchange` option
See README
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ The following options are allowed:

- `onNamespaceInitializedCallback`: This is a callback function that is called everytime sockets.io opens a new namespace. Because a new namespace requires new queues and exchanges, you can get a callback to indicate the success or failure here. This callback should be in the form of function(err, nsp), where err is the error, and nsp is the namespace. If your code needs to wait until sockets.io is fully set up and ready to go, you can use this.


This is a direct port of socket.io-redis except with all code modified for use with amqplib.

- `useInputExchange` option: This configures the use of 2 exchanges
`socket.io` and `socket.io-input` where `socket.io-input` is a fanout exchange
and `socket.io` is bound to it.
Loading

0 comments on commit 4cbc92d

Please sign in to comment.