summaryrefslogtreecommitdiff
path: root/cpp/lib/client/ClientChannel.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-02-14 16:58:52 +0000
committerGordon Sim <gsim@apache.org>2007-02-14 16:58:52 +0000
commit9cb1922884c5b258c961046e6fd48e5152aa79d5 (patch)
tree04662c38d1b70112619fe316e0b1de1d7de05f1c /cpp/lib/client/ClientChannel.cpp
parentb4b64a31a12cfd7578baab35d5036169825b53c1 (diff)
downloadqpid-python-9cb1922884c5b258c961046e6fd48e5152aa79d5.tar.gz
Added durability property to queues and pass this to broker on declare. (This change also applied on trunk)
Minor update of accumulated ack and test. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@507622 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/lib/client/ClientChannel.cpp')
-rw-r--r--cpp/lib/client/ClientChannel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/lib/client/ClientChannel.cpp b/cpp/lib/client/ClientChannel.cpp
index 613469c4ba..9d1c8ec011 100644
--- a/cpp/lib/client/ClientChannel.cpp
+++ b/cpp/lib/client/ClientChannel.cpp
@@ -159,7 +159,7 @@ void Channel::declareQueue(Queue& queue, bool synch){
sendAndReceiveSync<QueueDeclareOkBody>(
synch,
new QueueDeclareBody(
- version, 0, name, false, false,
+ version, 0, name, false/*passive*/, queue.isDurable(),
queue.isExclusive(), queue.isAutoDelete(), !synch, args));
if (synch) {
if(queue.getName().length() == 0){