<font face="arial" size="2"><p style="margin:0;padding:0;">Hi All,</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">We are running RabbitMQ as a background service on Android to prinicpally receive notifications. Is there something similar to keep-alive that we can implement to verify if the consumer is still connected and reset the connection timeout on the server?</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">It seems that the default method to do this is with heartbeat but the timer attribute of heartbeat doesn't work in the Android service scenario where the service is "woken up" every X minutes to test the connection. Using heartbeat we would need to leave Android running constantly and this defeats the purpose...</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">Soo.. Is there "The Right Way" to ping the server when a background service is woken up or do we need to roll our own?</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">thanks very much,</p>
<p style="margin:0;padding:0;">Matthew</p></font>