diff options
author | Alan Conway <aconway@apache.org> | 2008-11-11 21:09:21 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-11-11 21:09:21 +0000 |
commit | 5c2c542b044a0cc661c2fe435103fe25db1b6da5 (patch) | |
tree | ac488c4b4048516d72f5555bcbc5803121ae2c78 /cpp/src/qpid/cluster/Connection.cpp | |
parent | ce71dffee41acc012536afa37465cfac214d5439 (diff) | |
download | qpid-python-5c2c542b044a0cc661c2fe435103fe25db1b6da5.tar.gz |
Include DeliveryRecord::credit in replication to new members.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@713171 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Connection.cpp')
-rw-r--r-- | cpp/src/qpid/cluster/Connection.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/qpid/cluster/Connection.cpp b/cpp/src/qpid/cluster/Connection.cpp index ddfba03850..9c0b371066 100644 --- a/cpp/src/qpid/cluster/Connection.cpp +++ b/cpp/src/qpid/cluster/Connection.cpp @@ -280,7 +280,8 @@ void Connection::deliveryRecord(const string& qname, bool cancelled, bool completed, bool ended, - bool windowing) + bool windowing, + uint32_t credit) { broker::QueuedMessage m; broker::Queue::shared_ptr queue = findQueue(qname); @@ -293,7 +294,7 @@ void Connection::deliveryRecord(const string& qname, throw Exception(QPID_MSG("deliveryRecord no dump message")); } - broker::DeliveryRecord dr(m, queue, tag, acquired, accepted, windowing); + broker::DeliveryRecord dr(m, queue, tag, acquired, accepted, windowing, credit); dr.setId(id); if (cancelled) dr.cancel(dr.getTag()); if (completed) dr.complete(); |