You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by JigarP <ji...@gmail.com> on 2007/09/21 06:07:52 UTC
Re: Detecting lost ajax clients
Hi jefetech,
I am also facing same issue what you are facing. did you get any
solution for that. Please provide me your guideline so i can implement the
same thing.Your support will be highly appriciated.
J
jefetech wrote:
>
> Browsers occasionaly go dead and stop receiving JMS messages. What is the
> best way to detect this and reconnect?
>
> I wrote a function that sends out a ping message through the jms every 3
> minutes, and if it's receives it sets a flag. I check that flag in 30
> seconds after the ping and if it's not set I prompt the user to reload
> their browser. That seems hacky though and unreliable. Is there a bitter
> way to detect the amq.addListener status and reconnect without refreshing
> the browser?
>
> Thank you,
>
> Jeff
>
>
>
--
View this message in context: http://www.nabble.com/Detecting-lost-ajax-clients-tf3761822s2354.html#a12810294
Sent from the ActiveMQ - User mailing list archive at Nabble.com.