Author: gsim
Date: Wed Mar 27 12:06:02 2013
New Revision: 1461545
URL: http://svn.apache.org/r1461545
Log:
QPID-4668: Message is only redelivered if delivery count is greater than 1
(merged from r1461249)
Modified:
qpid/branches/0.22/qpid/ (props changed)
qpid/branches/0.22/qpid/cpp/src/ (props changed)
qpid/branches/0.22/qpid/cpp/src/qpid/messaging/amqp/EncodedMessage.cpp
Propchange: qpid/branches/0.22/qpid/
------------------------------------------------------------------------------
Merged /qpid/trunk/qpid:r1461249
Propchange: qpid/branches/0.22/qpid/cpp/src/
------------------------------------------------------------------------------
Merged /qpid/trunk/qpid/cpp/src:r1461249
Modified: qpid/branches/0.22/qpid/cpp/src/qpid/messaging/amqp/EncodedMessage.cpp
URL:
http://svn.apache.org/viewvc/qpid/branches/0.22/qpid/cpp/src/qpid/messaging/amqp/EncodedMessage.cpp?rev=1461545&r1=1461544&r2=1461545&view=diff
==============================================================================
--- qpid/branches/0.22/qpid/cpp/src/qpid/messaging/amqp/EncodedMessage.cpp
(original)
+++ qpid/branches/0.22/qpid/cpp/src/qpid/messaging/amqp/EncodedMessage.cpp Wed
Mar 27 12:06:02 2013
@@ -228,7 +228,7 @@ void EncodedMessage::InitialScan::onTtl(
void EncodedMessage::InitialScan::onFirstAcquirer(bool b) { em.firstAcquirer =
b; }
void EncodedMessage::InitialScan::onDeliveryCount(uint32_t i)
{
- mi.setRedelivered(i);
+ mi.setRedelivered(i > 1);
em.deliveryCount = i;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]