Thanks for the reply. There is no test case for this as i am just trying to figure out when ActiveMq removes the dead connection ? According to http://activemq.apache.org/mqtt.html , it should remove in the time span of 1.5* keepalive which is not happening .
In detail -------- A client connected to ActiveMq with Keepalive fo 60 seconds . Now Inactivity monitor sets the heartBeat of 90 seconds (1.5* 60) . So if i disconnect client by hard shut down (by not sending disconnect command from client) . So its the duty of inactivity monitor to watch for dead connections every 90 seconds in this case and based on this ActiveMq removes connection. But it is not happening, as it it taking more time to remove connection around 180 seconds in this case . Please help. -- View this message in context: http://activemq.2283324.n4.nabble.com/InactivityMonitor-issue-tp4666384p4666427.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.