I am using stompit package of node.js to connect to AMQ queue to subscribe message. I used ConnectFailover
class to create connection and channelPool
class to create pool.
Problem I am facing is that once connection is made and if there is no message in the queue then it stay connected.
What I need a way to disconnect if there is no message to read from the queue. I don't see any option in stompit documentation.