diff options
| author | Gordon Sim <gsim@apache.org> | 2007-02-14 15:38:57 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2007-02-14 15:38:57 +0000 |
| commit | ae462507be3217e2b4c173a68dad69d76fab35cc (patch) | |
| tree | 1375f9418fd4962be5460fa2b2b5ff992616b628 /qpid/cpp/lib/client/ClientChannel.cpp | |
| parent | 063a5d6bc65178f555c7cdf00b501101fbb438c6 (diff) | |
| download | qpid-python-ae462507be3217e2b4c173a68dad69d76fab35cc.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@507582 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/lib/client/ClientChannel.cpp')
| -rw-r--r-- | qpid/cpp/lib/client/ClientChannel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/lib/client/ClientChannel.cpp b/qpid/cpp/lib/client/ClientChannel.cpp index 3d0b547b07..d3c91d786e 100644 --- a/qpid/cpp/lib/client/ClientChannel.cpp +++ b/qpid/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){ |
