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

                 Key: QPID-3867
                 URL: https://issues.apache.org/jira/browse/QPID-3867
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: 0.15
            Reporter: Keith Wall
            Assignee: Keith Wall
            Priority: Critical


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.
 



--
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:dev-subscr...@qpid.apache.org

Reply via email to