activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Schooler" <dan.schoo...@gmail.com>
Subject AJAX Client Reconnect
Date Thu, 11 Oct 2007 16:41:17 GMT
I am using the AJAX client, and I am curious if there is a way to get
the clients to automatically reconnect?

My clients work in an environment where the network connections can be
spotty, and I would like them to automatically resume without the user
having to reload the browser.

Currently what happens is that if the connection drops temporarily
(such as by unplugging the network cable for a minute and then
plugging it back in) the clients just stop receiving messages and
never resume until the browser is reloaded.

I was able to get a proof-of-concept working using Jim's refactored
javascript from here:
http://tinyurl.com/288qgl
But I am curious if there is a better or more supported way to implement this?

Thanks,

   --Dan

Mime
View raw message