[
https://issues.apache.org/jira/browse/QPID-3821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew MacBean updated QPID-3821:
---------------------------------
Description:
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 same pattern is present in the SubFlushRunner.run().
The code at the end of the method should be moved into the finally block to
prevent this from happening.
was:
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.
Summary: Uncaught exception thrown in QueueRunner and SubFlushRunner
run() could cause them to remain stuck in RUNNING state permanently (was:
Uncaught exception thrown in QueueRunner.run() could cause QueueRunner to
remain stuck in RUNNING state permanently)
> Uncaught exception thrown in QueueRunner and SubFlushRunner run() could cause
> them 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: Keith Wall
> 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 same pattern is present in the SubFlushRunner.run().
> 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]