[jboss-jira] [JBoss JIRA] Commented: (JBREM-756) CallbackPoller should shut down if too many errors occur.

Ron Sigal (JIRA) jira-events at lists.jboss.org
Tue Jun 19 00:54:11 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBREM-756?page=comments#action_12365981 ] 
            
Ron Sigal commented on JBREM-756:
---------------------------------

A constant, MAX_ERROR_COUNT (actual value "maxErrorCount"), has been added to CallbackPoller, which can be used to configure the maximum number of errors that may be experienced during polling before CallbackPoller will shut itself down.  MAX_ERROR_COUNT should be a key in the metadata map passed to org.jboss.remoting.Client.addListener().  The default value is 5.

Unit test:  org.jboss.test.remoting.callback.pull.CallbackPollerShutdownTestCase.

Waiting for cruisecontrol results.

> CallbackPoller should shut down if too many errors occur.
> ---------------------------------------------------------
>
>                 Key: JBREM-756
>                 URL: http://jira.jboss.com/jira/browse/JBREM-756
>             Project: JBoss Remoting
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.4.0.Beta1 (Pinto)
>            Reporter: Ron Sigal
>         Assigned To: Ron Sigal
>             Fix For: 2.4.0.Beta1 (Pinto)
>
>
> org.jboss.remoting.callback.CallbackPoller will keep running even if the connection is broken or server crashes.  It should be possible to specify a maximum number of errors, after which CallbackPoller will quit polling.

-- 
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