summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/QueueSettings.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2013-05-08 11:55:56 +0000
committerGordon Sim <gsim@apache.org>2013-05-08 11:55:56 +0000
commit2276ae8ca3cb6a1ad27ad0d48e77914fef7e0b5d (patch)
treec070ae1dcc9e42766e94d53ab442fe6045718ec2 /cpp/src/qpid/broker/QueueSettings.cpp
parentf87be11e0a1de7b8b9c73c67b38bcbaa90e79443 (diff)
downloadqpid-python-2276ae8ca3cb6a1ad27ad0d48e77914fef7e0b5d.tar.gz
QPID-4706: allow selectors to be used on links from an exchange
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1480239 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/QueueSettings.cpp')
-rw-r--r--cpp/src/qpid/broker/QueueSettings.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/QueueSettings.cpp b/cpp/src/qpid/broker/QueueSettings.cpp
index d28fa38fde..93b832733c 100644
--- a/cpp/src/qpid/broker/QueueSettings.cpp
+++ b/cpp/src/qpid/broker/QueueSettings.cpp
@@ -57,6 +57,7 @@ const std::string FAIRSHARE_ALIAS("x-qpid-fairshare");
const std::string PAGING("qpid.paging");
const std::string MAX_PAGES("qpid.max_pages_loaded");
const std::string PAGE_FACTOR("qpid.page_factor");
+const std::string FILTER("qpid.filter");
const std::string LVQ_LEGACY("qpid.last_value_queue");
const std::string LVQ_LEGACY_KEY("qpid.LVQ_key");
@@ -202,6 +203,9 @@ bool QueueSettings::handle(const std::string& key, const qpid::types::Variant& v
} else if (key == PAGE_FACTOR) {
pageFactor = value;
return true;
+ } else if (key == FILTER) {
+ filter = value.asString();
+ return true;
} else {
return false;
}