qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cctriel...@apache.org
Subject svn commit: r730890 - /qpid/trunk/qpid/cpp/src/qpid/broker/Queue.cpp
Date Sat, 03 Jan 2009 02:14:47 GMT
Author: cctrieloff
Date: Fri Jan  2 18:14:47 2009
New Revision: 730890

URL: http://svn.apache.org/viewvc?rev=730890&view=rev
Log:
stats correction pointed out by gordon

Modified:
    qpid/trunk/qpid/cpp/src/qpid/broker/Queue.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/broker/Queue.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/broker/Queue.cpp?rev=730890&r1=730889&r2=730890&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/broker/Queue.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/broker/Queue.cpp Fri Jan  2 18:14:47 2009
@@ -515,10 +515,8 @@
                 lvq[key] = msg;
             }else {
                 i->second->setReplacementMessage(msg,this);
-                if (mgmtObject != 0) {
-                    mgmtObject->inc_msgTotalDequeues();
-                    mgmtObject->inc_byteTotalDequeues(msg->contentSize());
-                }
+                qm.payload = i->second;
+                dequeued(qm);
             }		 
         }else {
             messages.push_back(qm);



Mime
View raw message