You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Bhupendra Bhardwaj (JIRA)" <qp...@incubator.apache.org> on 2007/03/13 17:03:09 UTC

[jira] Created: (QPID-411) ClearQueue from MBean doesn't reset the queue depth.

ClearQueue from MBean doesn't reset the queue depth.
----------------------------------------------------

                 Key: QPID-411
                 URL: https://issues.apache.org/jira/browse/QPID-411
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
            Reporter: Bhupendra Bhardwaj
         Assigned To: Bhupendra Bhardwaj
            Priority: Minor


The ClearQueue functionality doesn't reset the queue depth. The messages get cleared but the queue depth doesn't get reduced.  This is happening because the "totalMessageSize" on the queue is not being reset when Queue is cleared.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (QPID-411) ClearQueue from MBean doesn't reset the queue depth.

Posted by "Bhupendra Bhardwaj (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bhupendra Bhardwaj resolved QPID-411.
-------------------------------------

    Resolution: Fixed

Fixed on the trunk.
When messages were being cleared, the queueSize was not being changes accordingly.
Now after removing all messages, queue depth is set to 0.


> ClearQueue from MBean doesn't reset the queue depth.
> ----------------------------------------------------
>
>                 Key: QPID-411
>                 URL: https://issues.apache.org/jira/browse/QPID-411
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Bhupendra Bhardwaj
>         Assigned To: Bhupendra Bhardwaj
>            Priority: Minor
>
> The ClearQueue functionality doesn't reset the queue depth. The messages get cleared but the queue depth doesn't get reduced.  This is happening because the "totalMessageSize" on the queue is not being reset when Queue is cleared.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.