summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/Queue.h
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-03-31 12:51:36 +0000
committerGordon Sim <gsim@apache.org>2008-03-31 12:51:36 +0000
commit36cfeb13b8ad4b532f7f9c2b48ac2353e6217bcd (patch)
tree3131f539a580a7ef905623787d86ba2cdb515f62 /cpp/src/qpid/broker/Queue.h
parent4c0600f324a10a59cf505b991e687d9888fa3a16 (diff)
downloadqpid-python-36cfeb13b8ad4b532f7f9c2b48ac2353e6217bcd.tar.gz
Re-introduced old 'no-local' behaviour for exclusive queues via a proprietary arg to queue.declare.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@642981 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Queue.h')
-rw-r--r--cpp/src/qpid/broker/Queue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/Queue.h b/cpp/src/qpid/broker/Queue.h
index e33cd7e5d7..880b048103 100644
--- a/cpp/src/qpid/broker/Queue.h
+++ b/cpp/src/qpid/broker/Queue.h
@@ -70,6 +70,7 @@ namespace qpid {
const OwnershipToken* owner;
uint32_t consumerCount;
bool exclusive;
+ bool noLocal;
Listeners listeners;
Messages messages;
mutable qpid::sys::Mutex consumerLock;
@@ -118,6 +119,7 @@ namespace qpid {
bool acquire(const QueuedMessage& msg);
+ bool isLocal(boost::intrusive_ptr<Message>& msg);
/**
* Delivers a message to the queue. Will record it as
* enqueued if persistent then process it.