summaryrefslogtreecommitdiff
path: root/cpp/lib/client/ClientChannel.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-02-14 15:38:57 +0000
committerGordon Sim <gsim@apache.org>2007-02-14 15:38:57 +0000
commitad724dd62db0f497e2d84ef3f56af6dd2839892d (patch)
treebec0b19201ec1575dfaa9b0732da91c5a14a83d0 /cpp/lib/client/ClientChannel.cpp
parenteabb9c036a0a4bce2aa2decbb21ada22b423e3ae (diff)
downloadqpid-python-ad724dd62db0f497e2d84ef3f56af6dd2839892d.tar.gz
Add durability property to queues and pass this to broker on declare.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@507582 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 3d0b547b07..d3c91d786e 100644
--- a/cpp/lib/client/ClientChannel.cpp
+++ b/cpp/lib/client/ClientChannel.cpp
@@ -87,7 +87,7 @@ void Channel::deleteExchange(Exchange& exchange, bool synch){
void Channel::declareQueue(Queue& queue, bool synch){
string name = queue.getName();
FieldTable args;
- AMQFrame* frame = new AMQFrame(version, id, new QueueDeclareBody(version, 0, name, false, false,
+ AMQFrame* frame = new AMQFrame(version, id, new QueueDeclareBody(version, 0, name, false/*passive*/, queue.isDurable(),
queue.isExclusive(),
queue.isAutoDelete(), !synch, args));
if(synch){