Uncaught exception thrown in QueueRunner.run() could cause QueueRunner to 
remain stuck in RUNNING state permanently
-------------------------------------------------------------------------------------------------------------------

                 Key: QPID-3821
                 URL: https://issues.apache.org/jira/browse/QPID-3821
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: 0.15
            Reporter: Andrew MacBean
            Assignee: Andrew MacBean
             Fix For: 0.15


The QueueRunner.run() method calls SimpleAMQQueue.processQueue(...) method 
within a try/catch block.  If this threw an exception that was not caught then 
the state of the QueueRunner is never set back to IDLE or SCHEDULED.

The code at the end of the method should be moved into the finally block to 
prevent this from happening.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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