Author: kpvdr
Date: 2009-12-16 13:24:45 -0500 (Wed, 16 Dec 2009)
New Revision: 3747
Modified:
store/trunk/cpp/lib/MessageStoreImpl.cpp
Log:
Partial fix for BZ 508144 - this turns on the redelivered flag for all messages which are
recovered. Requires qpid r.891362.
Modified: store/trunk/cpp/lib/MessageStoreImpl.cpp
===================================================================
--- store/trunk/cpp/lib/MessageStoreImpl.cpp 2009-12-16 16:52:51 UTC (rev 3746)
+++ store/trunk/cpp/lib/MessageStoreImpl.cpp 2009-12-16 18:24:45 UTC (rev 3747)
@@ -926,6 +926,9 @@
msg = recovery.recoverMessage(headerBuff);
}
msg->setPersistenceId(dtok.rid());
+ // At some future point if delivery attempts are stored, then this call
would
+ // become optional depending on that information.
+ msg->setRedelivered();
u_int32_t contentOffset = headerSize + preambleLength;
u_int64_t contentSize = readSize - contentOffset;
Show replies by date