activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From artnaseef <>
Subject Re: when should you set maxInactivityDuration=0?
Date Tue, 02 Dec 2014 19:49:56 GMT
Setting maxInactivityDuration to 0 disables the activity monitor.  The
advantages include reducing the overhead when there are large numbers of
idle connections, and eliminating forced disconnects on slow connections
that are otherwise active.

These seem like minor advantages.  The overhead is really low, and can be
reduced by increasing the inactivity duration.  And it is valuable to
disconnect connections that are really inactive.

Note that - just because there is a setting, doesn't mean there's really a
"good" reason to use it.  Often settings are added as a means to try
different approaches, or to allow for backward compatibility when new
features are added.  They may even be only useful when troubleshooting a

Hope this helps.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message