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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.15
    • 0.15
    • Broker-J
    • 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

            kwall Keith Wall
            macbean Andrew MacBean
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: