[rabbitmq-discuss] MQTT plugin, QoS 1, Android, not consuming on reconnect
bcliffe at gmail.com
Fri Jul 25 21:54:37 BST 2014
Thanks for the help in understanding the issue better.
I won't be testing again for a few days so I will let you know how the 5 -
10 sec heartbeat works out.
On Fri, Jul 25, 2014 at 9:24 PM, Michael Klishin-2 [via RabbitMQ] <
ml-node+s1065348n36895h8 at n5.nabble.com> wrote:
> On 26 July 2014 at 00:18:32, Bryan Cliffe ([hidden email]
> <http://user/SendEmail.jtp?type=node&node=36895&i=0>) wrote:
> > > I'm disconnecting from wifi and reconnecting through cellular
> > to test the robustness of the connection when the I.P changes.
> > I wanted to see how the paho java client would handle message delivery
> > on QoS 1 to Android. I'm then filling the queue during the handover
> > phase and I can't consume on reconnect. I'm using two different
> > values for the heartbeat which is 240000ms and 30000ms but I'm
> > having the same problem with both. It would be interesting if
> > it's not detecting the change over from wifi to cellular.
> I'm not familiar with how exactly switching from WiFi to cellular data
> TCP connections on Android but in general, this is exactly the kind of
> heartbeats in MQTT are for.
> Try using a value of 5-10 seconds. I'm all for improving RabbitMQ MQTT
> for this case but if Rabbit doesn't get a notification from the OS that
> the peer
> disconnected, a low heartbeat interval is the only possible solution.
> Staff Software Engineer, Pivotal/RabbitMQ
> rabbitmq-discuss mailing list has moved to
> please subscribe to the new list!
> [hidden email] <http://user/SendEmail.jtp?type=node&node=36895&i=1>
> If you reply to this email, your message will be added to the discussion
> To unsubscribe from MQTT plugin, QoS 1, Android, not consuming on
> reconnect, click here
View this message in context: http://rabbitmq.1065348.n5.nabble.com/MQTT-plugin-QoS-1-Android-not-consuming-on-reconnect-tp36888p36897.html
Sent from the RabbitMQ mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss