Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3821

Uncaught exception thrown in QueueRunner and SubFlushRunner run() could cause them to remain stuck in RUNNING state permanently

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.15
    • Fix Version/s: 0.15
    • Component/s: Broker-J
    • Labels:
      None

      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.

        Attachments

          Activity

            People

            • Assignee:
              k-wall Keith Wall
              Reporter:
              macbean Andrew MacBean
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: