activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prashant <>
Subject Re: Inactivity Monitor
Date Fri, 03 Jan 2014 06:15:01 GMT
As per my understanding - 
Default value for maxInactivityDuration
is 30 Seconds(30000 milliseconds).
So even if you are not setting any value explicitly from client side, by
default 30 seconds would be considered for client side. And as you said,
you are setting 120 seconds from broker side. Then in that case it will
calculate minimum of both sides which is 30 seconds for the client. Hence
effective maxInactivityDuration
for the connection would be 30 seconds.

So if you want to have maxInactivityDuration
&nbsp;as 120 seconds better set it
explicitly to 120 seconds from both Broker and Client side. 

[via ActiveMQ]&quot; &lt;;

01/02/2014 05:17 PM



Inactivity Monitor 

So, I were to increase it this would require me to specify
maxInactivityDuration at broker side as well as client side? I mean If
I specify a value say 120 seconds on broker side and do not specify anything
on the client side while connecting to broker, will that make the configuration
to 120 seconds ? 


If you reply to this email, your message
will be added to the discussion below: 

To unsubscribe from Inactivity Monitor,
here . 

View this message in context:
Sent from the ActiveMQ - User mailing list archive at
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message