Hi Justin,

Thank you ver much for your reply. It helps me to think in a right way (I
guess).
Not only I adjusted ActiveMQ broker. I checked broker file ActiveMQ.xml
again and find out that for mqtt transport connector was set parameter
"transport.useInactivityMonitor=false". It means that checking if connection
active or not was disabled...
Tommorow I wil turn it on and I will add keepAlive parameter for MQTT client
and I will set it 10 seconds. I hope it will work. Probably I think broker
will close connection in 10 seconds when pingreq/pingresp won't be passed
due to mobile internet will be off and connection on MQTT client will be
lost. In that case I really hope that Active durable subscription will
become Offline durable subscription.

All in all, thank you, will try tommorow.



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Reply via email to