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/ha/ReplicationTest.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/ha/ReplicationTest.cpp')
| -rw-r--r-- | cpp/src/qpid/ha/ReplicationTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/ha/ReplicationTest.cpp b/cpp/src/qpid/ha/ReplicationTest.cpp index 18e0681f0f..0156c631bb 100644 --- a/cpp/src/qpid/ha/ReplicationTest.cpp +++ b/cpp/src/qpid/ha/ReplicationTest.cpp @@ -65,7 +65,7 @@ ReplicateLevel ReplicationTest::getLevel(const broker::Exchange& ex) { ReplicateLevel ReplicationTest::useLevel(const broker::Queue& q) { - bool ignore = q.isAutoDelete() && q.hasExclusiveOwner() && + bool ignore = q.isAutoDelete() && q.getSettings().declaredExclusive && !q.getSettings().autoDeleteDelay; return ignore ? ReplicationTest(NONE).getLevel(q) : getLevel(q); } |
