summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-01-04 18:14:52 +0000
committerGordon Sim <gsim@apache.org>2008-01-04 18:14:52 +0000
commit0baaa143e71d6f28ac7c58ad76dfb3445e7bf2b7 (patch)
tree2647d1a602a51c2a00516232a570fd144bcd3872 /cpp
parentb31b08faca5cad262c0828836e020ca6b09a9307 (diff)
downloadqpid-python-0baaa143e71d6f28ac7c58ad76dfb3445e7bf2b7.tar.gz
Ensure tx test retains durability of 'transfered' messages.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@608948 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/tests/txtest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/tests/txtest.cpp b/cpp/src/tests/txtest.cpp
index 5c48082e91..17aef8826b 100644
--- a/cpp/src/tests/txtest.cpp
+++ b/cpp/src/tests/txtest.cpp
@@ -143,6 +143,7 @@ struct Transfer : public Client, public Runnable
in = lq.pop();
out.setData(in.getData());
out.getMessageProperties().setCorrelationId(in.getMessageProperties().getCorrelationId());
+ out.getDeliveryProperties().setDeliveryMode(in.getDeliveryProperties().getDeliveryMode());
session.messageTransfer(arg::content=out);
}
in.acknowledge();