activemq-users mailing list archives

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

Regards,
Manish Gulati

CONFIDENTIALITY NOTICE
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 +91.172.229.9438 or
return e-mail message mgulati@quark.com 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) [mailto:sukoneru@cisco.com] 
Sent: Tuesday, February 20, 2007 1:23 AM
To: users@activemq.apache.org
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();

broker.addConnector("tcp://localhost:61616?trace=true&wireFormat.maxInac
tivityDuration= -1");

broker.start();

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,

thanks,

Suchitha.


Mime
View raw message