activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manish Gulati" <>
Subject RE: disable Max Inactivity Duration
Date Tue, 20 Feb 2007 04:42:22 GMT
Should set it to 0 instead of -1.

Manish Gulati

This e-mail transmission and any documents, files, or previous e-mail
messages appended or attached to it, may contain information that is
confidential or legally privileged. If you are not the intended
recipient, or a person responsible for delivering it to the intended
recipient, you are hereby notified that you must not read this
transmission and that any disclosure, copying, printing, distribution,
or use of the information contained or attached to this transmission is
STRICTLY PROHIBITED. If you have received this transmission in error,
please immediately notify the sender by telephone + or
return e-mail message and delete the original
transmission, its attachments, and any copies without reading or saving
in any manner. Thank you.

-----Original Message-----
From: Suchitha Koneru (sukoneru) [] 
Sent: Tuesday, February 20, 2007 1:23 AM
Subject: disable Max Inactivity Duration

Hello Active Mq users, 
   Thank you James, for your help in regard to Inactivity Exceptions.
                  For  disabling the Max Inactivity Duration , so that
the broker is always active                      
should I configure the broker as  follows 
BrokerService broker = new BrokerService();

tivityDuration= -1");


maxInactivityDuration is a long value , if I set it to -1 , will the
broker stay alive for ever ?

Is this a recommended way  of disabling  Max Inacvtivity Duration ?

Please let me know,



View raw message