You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Gordon Sim (JIRA)" <ji...@apache.org> on 2011/04/04 18:52:05 UTC
[jira] [Commented] (QPID-3187) No exception handling for manay
timer tasks in broker
[ https://issues.apache.org/jira/browse/QPID-3187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015494#comment-13015494 ]
Gordon Sim commented on QPID-3187:
----------------------------------
Patch submitted for review at https://reviews.apache.org/r/546/
> 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
> Assignee: 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