[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Server side HA and failover
clebert.suconic@jboss.com
do-not-reply at jboss.com
Wed Nov 22 13:02:08 EST 2006
I was talking to Tom Elrod about ConnectionListeners and stuff..
I wanted to know when aConnectionListener would be called. In specifically I wanted to know if the event is called during an invocation.
Tom gave me some light that I want to keep it registered on this thread:
"Tom Elrod over IM" wrote : The ConnectionListener can be registered on the client and server side. The server side uses leasing to tell if a client has not contacted the server within a certain amount of time and thus considers it dead and notifies the ConnectionListener. On the client side, the ConnectionListener is only there to tell the client that server has died when the client is idle (meaning not making invocations). If an invocation is made and the server is dead, there will be a CannotConnectException thrown from the invoke() method.
"Tom Elrod over IM" wrote : on the client side, the ConnectionListener is independent of invocation calls. is just a pinger that runs concurrently with any client invocations that might be made.
|
For more information on Ping at Remoting:
http://labs.jboss.com/portal/jbossremoting/docs/guide/ch08.html
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987960#3987960
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987960
More information about the jboss-dev-forums
mailing list