rabbitmq / rabbitmq-stomp

RabbitMQ STOMP plugin
https://www.rabbitmq.com/stomp.html
Other
49 stars 28 forks source link

Maintenance mode event support #149

Closed michaelklishin closed 4 years ago

michaelklishin commented 4 years ago

This makes the refs predictable and easy to compute from a listener record. Then suspending all listeners becomes a lot simpler.

While at it, make protocol applications clean up their listeners when they stop. This way tests and other callers that have to stop the app would not need to know anything about its listeners.

Part of rabbitmq/rabbitmq-server#2321

michaelklishin commented 4 years ago

@dcorbacho done for STOMP, not yet sure if we can apply the same approach to Web STOMP

michaelklishin commented 4 years ago

Web STOMP does not already provide a function that would list its connections.

michaelklishin commented 4 years ago

Yup, Web STOMP is a quite a bit more involved case.

michaelklishin commented 4 years ago

Backported to v3.8.x.