easternbloc / node-stomp-client

A STOMP client for Node.js
Other
93 stars 47 forks source link

Add possibility to connect/disconnect to a queue @ runtime #86

Open GrtVHecke opened 1 year ago

GrtVHecke commented 1 year ago

If you use a queue for sending measurements for example and a microservice delivers these to a database, you want to be able to block getting messages from the que if there is something wrong with the database. Otherwise you will loose measurements. This is just 1 use case. But in the end it would be great to have the possibility to enable/disable the connection to the STOM server or halt the subscription to the STOMP server.