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:[email protected]

Reply via email to