[Bug] Unable to create multiple connections.
Opened this issue · 0 comments
ramhr commented
When calling arnavmq multiple times to create multiple connections to different servers, it does not actually create a new connection each time. Instead, it just replaces the configuration of the old connection.
When calling the arnavmq lib it does:
Line 50 in 452be98
While the connection
function just returns the same singleton with updated configuration:
node-arnavmq/src/modules/connection.js
Lines 95 to 106 in 452be98