diff options
| author | Gordon Sim <gsim@apache.org> | 2008-04-21 14:37:03 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2008-04-21 14:37:03 +0000 |
| commit | 224a70f13d371068e489625954b7034019a151bb (patch) | |
| tree | a42164ccc4f2708de18927d95165454abaed1baf /qpid/cpp/src/tests/txtest.cpp | |
| parent | ecc8fe81362d1415d6b0fc430792873e99ced64b (diff) | |
| download | qpid-python-224a70f13d371068e489625954b7034019a151bb.tar.gz | |
QPID-920: send message-accept for acks (as well as completion)
* AckPolicy now maintains a set of transfered messages for cumulative accepts
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@650159 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/txtest.cpp')
| -rw-r--r-- | qpid/cpp/src/tests/txtest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/txtest.cpp b/qpid/cpp/src/tests/txtest.cpp index 5030b24070..a8369df759 100644 --- a/qpid/cpp/src/tests/txtest.cpp +++ b/qpid/cpp/src/tests/txtest.cpp @@ -144,7 +144,7 @@ struct Transfer : public Client, public Runnable out.getDeliveryProperties().setDeliveryMode(in.getDeliveryProperties().getDeliveryMode()); session.messageTransfer(arg::content=out, arg::acceptMode=1); } - in.acknowledge(); + lq.getAckPolicy().ackOutstanding(session); session.txCommit(); } } catch(const std::exception& e) { |
