Android : reconnect immediately in Apache MQ over mqtt protocol

on Sunday, August 31, 2014


when my connection is alive at Active Mq and just in case if my 3G network link goes down in my mobile app and then i try to reconnect on the same connection string , i am not be able to connect and i can see a live connection in Active MQ. my app only get a chance to reconnect once that session at server get destroyed automatically and then it takes lot of time in reconnecting.


i have used session clean to false and QoS to 1 now is there anything to set so that i can reconnect immediately.


so is there a way to reconnect to server immediately ?


enter image description here


0 comments:

Post a Comment