[jboss-user] [JBoss Remoting] - Detection failure delay for JMS bisocket connection

Ron Sigal do-not-reply at jboss.com
Tue Apr 27 22:18:06 EDT 2010


Ron Sigal [http://community.jboss.org/people/ron.sigal%40jboss.com] replied to the discussion

"Detection failure delay for JMS bisocket connection"

To view the discussion, visit: http://community.jboss.org/message/539916#539916

--------------------------------------------------------------
Hi Amar,

Leasing is used by a Remoting server to detect network failures.  A ping is periodically sent from the client to the server, and, if the ping doesn't arrive within a specified window, the server informs any registered listeners of a possible network failure.  In particular, JBossMessaging registers a listener which will shut down a JMS connection when called.

"clientLeasePeriod" determines how often a ping is sent.  It looks like you have the default value used by JBossMessaging, i.e., 10 seconds.  If your network or server are particularly busy, you might want to increase the value.

-Ron

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/539916#539916]

Start a new discussion in JBoss Remoting at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2050]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100427/60e9ec4a/attachment.html 


More information about the jboss-user mailing list