qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject svn commit: r588203 - /incubator/qpid/trunk/qpid/cpp/src/qpid/broker/DeliveryRecord.cpp
Date Thu, 25 Oct 2007 11:33:37 GMT
Author: gsim
Date: Thu Oct 25 04:33:37 2007
New Revision: 588203

URL: http://svn.apache.org/viewvc?rev=588203&view=rev
Log:
Don't requeue released messages.


Modified:
    incubator/qpid/trunk/qpid/cpp/src/qpid/broker/DeliveryRecord.cpp

Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/broker/DeliveryRecord.cpp
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/broker/DeliveryRecord.cpp?rev=588203&r1=588202&r2=588203&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/broker/DeliveryRecord.cpp (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/broker/DeliveryRecord.cpp Thu Oct 25 04:33:37 2007
@@ -96,7 +96,7 @@
 
 void DeliveryRecord::requeue() const
 {
-    if (!confirmed) {
+    if (acquired && !confirmed) {
         msg.payload->redeliver();
         queue->requeue(msg);
     }



Mime
View raw message