You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rabbot seems to only use one client/connection per application instance.
When the module is required multiple times, each instance cant be configured to a separate server.
They all use the same server, even after .configure has been called.
An example of this.
const rabbot_1 = require('rabbot');
const rabbot_2 = require('rabbot');
rabbot_1.configure({server1});
rabbot_2.configure({server2});
rabbot_2.publish({'ex.1', { type: 'MyMessage', body: 'hello!' }); // pushes message to server 1
rabbot_2.shutdown(); // closes the connection to server 1
The text was updated successfully, but these errors were encountered:
Rabbot seems to only use one client/connection per application instance.
When the module is required multiple times, each instance cant be configured to a separate server.
They all use the same server, even after
.configure
has been called.An example of this.
The text was updated successfully, but these errors were encountered: