qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject svn commit: r583739 - /incubator/qpid/trunk/qpid/cpp/src/qpid/broker/DeliveryRecord.cpp
Date Thu, 11 Oct 2007 08:43:41 GMT
Author: gsim
Date: Thu Oct 11 01:43:41 2007
New Revision: 583739

URL: http://svn.apache.org/viewvc?rev=583739&view=rev
Log:
Fix: recovered messages must be marked redelivered


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=583739&r1=583738&r2=583739&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 11 01:43:41 2007
@@ -84,6 +84,7 @@
             //if message was originally sent as response to get, we must requeue it
             requeue();
         }else{
+            msg.payload->redeliver();//mark as redelivered
             id = session->redeliver(msg.payload, token);
         }
     }



Mime
View raw message