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
{{ message }}
This repository has been archived by the owner on Nov 28, 2018. It is now read-only.
Hi,All:
I'm using activeMQ and this client, but time to time, I found that the client lost the connection without any notification, and I checked activeMQ doc ,it does support the reconnection,http://activemq.apache.org/how-can-i-support-auto-reconnection.html, but I did not see this feature in the nodejs client? Or there is some way that I don't know, thanks in advance.
The text was updated successfully, but these errors were encountered:
I was running into this exact same thing with ActiveMQ...especially using SSL. I tried a few things like using timeout/keepAlive in the connection setup, but that didn't work. I did not try the failover setting the website recommends.
I just made a pull request, this has my update to emit a "disconnected" event which I can then catch in my code and then just reconnect. I am sure there is a better way, but this did get the job done for me.
I was running into this exact same thing with ActiveMQ...especially using
SSL. I tried a few things like using timeout/keepAlive in the connection
setup, but that didn't work. I did not try the failover setting the website
recommends.
I just made a pull request, this has my update to emit a "disconnected"
event which I can then catch in my code and then just reconnect. I am sure
there is a better way, but this did get the job done for me.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/30#issuecomment-30147215
.
Hi,All:
I'm using activeMQ and this client, but time to time, I found that the client lost the connection without any notification, and I checked activeMQ doc ,it does support the reconnection,http://activemq.apache.org/how-can-i-support-auto-reconnection.html, but I did not see this feature in the nodejs client? Or there is some way that I don't know, thanks in advance.
The text was updated successfully, but these errors were encountered: