Discussion:
[openjms-developer] Decreasing time before onException method called
Arthur Catherine
2004-01-21 05:27:46 UTC
Permalink
When the network connection is unplugged from a client
machine it takes a certain amount of time before the
connection is dropped and the OnException method is
called. Is there a way to reduce this time?

We have found that org.exolab.jms.rmi.retryCount will
reduce the number of pings that need to fail before the
connection is dropped however each ping seems to take
30 seconds to fail and it does not seem to be because
of the retry interval.

We're happy to reduce the retryCount however a reasonable
number still needs to fail before the connection should be
dropped. Is there another way?

Thanks,

Catherine.
Tim Anderson
2004-01-21 12:36:17 UTC
Permalink
(CC-ing to openjms-user - more appropriate list)

For the RMI connector, you can configure the interval
between pings, in seconds, e.g:
<RmiConfiguration embeddedRegistry="true"
registryHost="localhost"
registryPort="1099"
clientPingInterval="15"/>

See http://openjms.sourceforge.net/config/reference.html#RmiConfiguration
for more details.

There is no equivalent for the TCP connector (although there
probably should be).

-Tim
-----Original Message-----
Arthur Catherine
Sent: Wednesday, 21 January 2004 4:28 PM
Subject: [openjms-developer] Decreasing time before onException method
called
When the network connection is unplugged from a client
machine it takes a certain amount of time before the
connection is dropped and the OnException method is
called. Is there a way to reduce this time?
We have found that org.exolab.jms.rmi.retryCount will
reduce the number of pings that need to fail before the
connection is dropped however each ping seems to take
30 seconds to fail and it does not seem to be because
of the retry interval.
We're happy to reduce the retryCount however a reasonable
number still needs to fail before the connection should be
dropped. Is there another way?
Thanks,
Catherine.
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
openjms-developer mailing list
https://lists.sourceforge.net/lists/listinfo/openjms-developer
Loading...