[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-1196) add heartbeat

Tim Fox (JIRA) jira-events at lists.jboss.org
Sun Dec 30 07:49:43 EST 2007


    [ http://jira.jboss.com/jira/browse/JBMESSAGING-1196?page=comments#action_12393560 ] 
            
Tim Fox commented on JBMESSAGING-1196:
--------------------------------------

Need some kind of server lease functionality.

The lease is created on the server and "counts down".

Every time a ping arrives the lease is refreshed.

If the server lease counts down to zero it triggers server side exception handling and cleanup.

The return value from the ping should determine return whether the server lease is still alive - this copes with the case where the server lease has expired e.g. due to a huge garbage collection, but the connection actually hasn't gone down so the client might end up pinging after the lease is dead, in this case the return value can cause the client side exception handler to be triggered.



> add heartbeat
> -------------
>
>                 Key: JBMESSAGING-1196
>                 URL: http://jira.jboss.com/jira/browse/JBMESSAGING-1196
>             Project: JBoss Messaging
>          Issue Type: Sub-task
>          Components: JMS Remoting
>            Reporter: Jeff Mesnil
>         Assigned To: Jeff Mesnil
>             Fix For: 2.0.0 Alpha
>
>
> The new remoting code based on MINA is missing a heartbeat.
> This heartbeat sent by the client to its server is required to be able to clean resources on the server side when a client is dead (when it no longer sends its heartbeat)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list