-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
The vertx adapter for notifier currently has a removeAllChannels privileged method that is called during subscribe if the reset variable is set to true.
https://github.com/aerogear/aerogear-js/blob/Notifier-adapters/src/notifier/adapters/vertx.js#L276
This doesn't actually unsubscribe the channels from the server, just removes them from the channel array.
https://github.com/aerogear/aerogear-js/blob/Notifier-adapters/src/notifier/adapters/vertx.js#L155
the stompws adapter doesn't have this method, it actually calls unsubscribe.
https://github.com/aerogear/aerogear-js/blob/Notifier-adapters/src/notifier/adapters/stompws.js#L221
i would vote to remove the removeAllChannels method and replace it with how the stompws adapter does it