qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gordon Sim (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-3187) No exception handling for manay timer tasks in broker
Date Mon, 04 Apr 2011 16:50:05 GMT
No exception handling for manay timer tasks in broker

                 Key: QPID-3187
                 URL: https://issues.apache.org/jira/browse/QPID-3187
             Project: Qpid
          Issue Type: Bug
    Affects Versions: 0.8, 0.10
            Reporter: Gordon Sim

The assumption in Timer appears to be that no thread will ever throw from TimerTask::fire().
In practice however few of the implementations of that method in the broker take any measures
to ensure that is the case. If code called on a timer thread throws there is therefore the
risk of the broker terminating (I have observed such a case for example on the management
periodic processing).

It would probably be advisable to add some generic protection for this.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org

View raw message