mirror of
https://github.com/apache/activemq.git
synced 2025-02-11 12:36:07 +00:00
Add a connect check in the inactivity monitor to account for opened connections that might drop but not be spotted, in the case where the connect frame is lost this can lead to connections that aren't fully opened and won't be cleaned up until the broker detects the socket has failed. By default the connection timer is set to 30 seconds, if no connect frame is read by then the connection is dropped. The broker can be configured via the 'transport.connectAttemptTimeout' URI option, a value <= zero disable the check.