onixjs / core

Enterprise Grade #NodeJS Platform implementing Industry Standards & Patterns in order to provide Connectivity, Stability, High-Availability and High-Performance
https://onixjs.io
Other
52 stars 7 forks source link

Stream unsubscriptions are broken #60

Closed jonathan-casarrubias closed 6 years ago

jonathan-casarrubias commented 6 years ago

While working in the OnixJS-System I fount the stream unsubscribe is not working properly, the following changes are required

1.- Remove throw error in order to avoid server crashes 2.- Unsubscriptions are not being notified to the right application 3.- A subscription message should be passed back to the client 4.- The client should be able to persist the subscription and listener so it can unsubscribe to the server