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

AMQQueueMBean#clearQueue|moveMessages|copyMessages should be certain to rollback transactions in the event of exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.15
    • 0.15
    • Broker-J
    • None

    Description

      AMQQueueMBean#clearQueue|moveMessages|copyMessages all leave open that possibility that a LocalTransaction goes uncommitted (or unrolledback) in the event of exception.

      This will lead to uncontrolled store growth when used with BDB as would block the action of the cleaner thread.

      A finally block should be used to ensure that transaction is rolled back on any exception.

      Attachments

        Activity

          People

            robbie Robbie Gemmell
            kwall Keith Wall
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: