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
If you exposed AMQPService from the module I could listen to connectionClosed event and reconnect to another broker URI.
With current exports from the module, I can only consider to reload the NestJS module in runtime whenever connectionClose appears. It's an idea I do not specifically like :(
Any advice on how I could make the failover logic work with your module? :)
Best regards, Radek
The text was updated successfully, but these errors were encountered:
Hello!
I'm in need of implementing the failover on the client side. In the other issue (#72 ) you mention it's not supported in rhea-as-promised. It is however supported in regular 'rhea': https://github.com/amqp/rhea/blob/main/examples/reconnect/client.js#L43
If you exposed AMQPService from the module I could listen to connectionClosed event and reconnect to another broker URI.
With current exports from the module, I can only consider to reload the NestJS module in runtime whenever connectionClose appears. It's an idea I do not specifically like :(
Any advice on how I could make the failover logic work with your module? :)
Best regards, Radek
The text was updated successfully, but these errors were encountered: