This content has been marked as final. Show 2 replies
The broker periodically tests connections are still alive and if they don't respond after imq.ping.interval seconds (default 120 secs) then the broker will close the connection.
If you need more information than is available using imqcmd then I would suggest using the JMX API. This allows you to list the connections on a broker, list the consumers on each connection (including what destination they are consuming on), list the consumers on a particular destination, and destroy a particular connection. The API is pretty simple to use and is fully described in the Developer Guide for JMX Clients (http://docs.sun.com/app/docs/doc/821-1797) .