Closed michaelklishin closed 4 years ago
@dcorbacho done for STOMP, not yet sure if we can apply the same approach to Web STOMP
Web STOMP does not already provide a function that would list its connections.
Yup, Web STOMP is a quite a bit more involved case.
Backported to v3.8.x
.
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