diff options
author | Kim van der Riet <kpvdr@apache.org> | 2009-09-11 13:33:42 +0000 |
---|---|---|
committer | Kim van der Riet <kpvdr@apache.org> | 2009-09-11 13:33:42 +0000 |
commit | b171cc419ae5d2bc747ec2465ad1c76445f8bd37 (patch) | |
tree | 2f4d01f55832b1cee196214eae31af47f4ca4a78 /cpp/src/qpid/xml/XmlExchange.h | |
parent | 613071992900172cb00b5eff9f39b1cc06a5e2a8 (diff) | |
download | qpid-python-b171cc419ae5d2bc747ec2465ad1c76445f8bd37.tar.gz |
Joint checkin with cctrieloff. Refactor of exchange routing so that multi-queue policy differences may be resolved and allow for correct multi-queue flow-to-disk behavior. Different queues may have differing policies and persistence properties - these were previously being neglected. New c++ test added.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@813825 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/xml/XmlExchange.h')
-rw-r--r-- | cpp/src/qpid/xml/XmlExchange.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/src/qpid/xml/XmlExchange.h b/cpp/src/qpid/xml/XmlExchange.h index 38cb7699b6..389bfebfd0 100644 --- a/cpp/src/qpid/xml/XmlExchange.h +++ b/cpp/src/qpid/xml/XmlExchange.h @@ -7,9 +7,9 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @@ -53,7 +53,7 @@ class XmlExchange : public virtual Exchange { Binding(key, queue, parent), xquery(query), parse_message_content(true) {} }; - + typedef std::map<string, XmlBinding::vector > XmlBindingsMap; XmlBindingsMap bindingsMap; @@ -64,13 +64,13 @@ class XmlExchange : public virtual Exchange { public: static const std::string typeName; - + XmlExchange(const std::string& name, management::Manageable* parent = 0, Broker* broker = 0); XmlExchange(const string& _name, bool _durable, const qpid::framing::FieldTable& _args, management::Manageable* parent = 0, Broker* broker = 0); virtual std::string getType() const { return typeName; } - + virtual bool bind(Queue::shared_ptr queue, const std::string& routingKey, const qpid::framing::FieldTable* args); virtual bool unbind(Queue::shared_ptr queue, const std::string& routingKey, const qpid::framing::FieldTable* args); |