diff options
| author | Alan Conway <aconway@apache.org> | 2013-02-07 19:26:20 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2013-02-07 19:26:20 +0000 |
| commit | fd1b444a79689ae3a4edf9b5bbdb771e016f65e2 (patch) | |
| tree | 8b360290d3f573c89dc31dca5dfa06544637623a /cpp/src/qpid/broker/SessionAdapter.cpp | |
| parent | 1fd7dc55fefd1b8869962d12a8347d5d7356c927 (diff) | |
| download | qpid-python-fd1b444a79689ae3a4edf9b5bbdb771e016f65e2.tar.gz | |
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
Diffstat (limited to 'cpp/src/qpid/broker/SessionAdapter.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/SessionAdapter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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::shared_ptr, bool> queue_created = getBroker().createQueue(name, settings, |
