stompest icon indicating copy to clipboard operation
stompest copied to clipboard

failover doesn't seem to be working

Open sergey-sobolev opened this issue 5 years ago • 1 comments

I'm trying to use async stompest (2.3.0) with RabbitMq (3.7.18) and almost everything works but the failover feature. I've configured client with failover uri, then restarted the broker and the client has not reconnected. There were error messages about the connection close printed by the DisconnectListener, but I haven't seen any attempts from StompFailoverTransport to re-connect. I put a breakpoint in StompFailoverTransport iter, it gets triggered once (on client connect) and not more.

sergey-sobolev avatar Oct 01 '19 14:10 sergey-sobolev

So far I've implemented a hack: implemented own disconnect listener class which triggers re-connect. It works, but in fact this replaces the failover logic therefore can't be accepted as a solution.

sergey-sobolev avatar Oct 01 '19 14:10 sergey-sobolev