From fd1b444a79689ae3a4edf9b5bbdb771e016f65e2 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 7 Feb 2013 19:26:20 +0000 Subject: QPID-4555: HA Add QueueSettings::declaredExclusive for exclusive queues. This is set when the queue is created, before calling ConfigurationObserver::queueCreate, and does not change thereafter. The existing Queue::owner not set until after ConfigurationObserver::queueCreate and does change as ownership can be released and acquired. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1443679 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/SessionAdapter.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'cpp/src/qpid/broker/SessionAdapter.cpp') diff --git a/cpp/src/qpid/broker/SessionAdapter.cpp b/cpp/src/qpid/broker/SessionAdapter.cpp index fd3cf9400f..e391432bff 100644 --- a/cpp/src/qpid/broker/SessionAdapter.cpp +++ b/cpp/src/qpid/broker/SessionAdapter.cpp @@ -294,6 +294,7 @@ void SessionAdapter::QueueHandlerImpl::declare(const string& name, const string& } catch (const qpid::types::Exception& e) { throw InvalidArgumentException(e.what()); } + settings.declaredExclusive = exclusive; std::pair queue_created = getBroker().createQueue(name, settings, -- cgit v1.2.1