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
I forked the repo here to implement a crude TCP heartbeat when connecting to an ActiveMQ server. I do not like the overall implementation/use case so I am not making a pull request, but if you would like to see it in action, checkout my fork.
var Stomp = require('stomp-client');
client = new Stomp('localhost', 61613, '', '', '1.1', undefined, undefined, '1000,1000'); // One second heartbeats.
I forked the repo here to implement a crude TCP heartbeat when connecting to an ActiveMQ server. I do not like the overall implementation/use case so I am not making a pull request, but if you would like to see it in action, checkout my fork.
var Stomp = require('stomp-client');
client = new Stomp('localhost', 61613, '', '', '1.1', undefined, undefined, '1000,1000'); // One second heartbeats.
https://github.com/ahudak/node-stomp-client.git
I found the activemq connection state in my app much easier to manage with this change now that the error handler gets called in a timely manner.
The text was updated successfully, but these errors were encountered: