Open tamsler opened 11 years ago
Have you tried to listen for 'disconnect' event?
I've run into this same problem. My current workaround is to directly access the stream within the stomp client and bind to the 'end' event.
client.stream.on('end', errorCallback);
How does the client get notified, when the server connection goes down? I have defined the "errorCallback" in:
stomp.connect([callback, [errorCallback]])
but it never gets called if the server goes down.