summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Anthony Giusti <kgiusti@apache.org>2011-11-15 23:44:18 +0000
committerKenneth Anthony Giusti <kgiusti@apache.org>2011-11-15 23:44:18 +0000
commit5cc8ad2792b20d0f0966ef29c7b6ba7b98033a03 (patch)
tree1b15fe94f93aa097ae8bd9f3f02a12ea5a811c71
parente7e74629d9a709188bc7d691c5445a8f6b7bd105 (diff)
downloadqpid-python-5cc8ad2792b20d0f0966ef29c7b6ba7b98033a03.tar.gz
QPID-3615: merge fix to 0.14
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.14@1202473 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/cpp/src/qpid/broker/Broker.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/broker/Broker.cpp b/qpid/cpp/src/qpid/broker/Broker.cpp
index ec3cf9d340..a2ffcf8545 100644
--- a/qpid/cpp/src/qpid/broker/Broker.cpp
+++ b/qpid/cpp/src/qpid/broker/Broker.cpp
@@ -338,6 +338,13 @@ Broker::Broker(const Broker::Options& conf) :
} else if (conf.knownHosts != knownHostsNone) {
knownBrokers.push_back(Url(conf.knownHosts));
}
+
+ // check for and warn if deprecated features have been configured
+ if (conf.maxSessionRate) {
+ QPID_LOG(warning, "The 'max-session-rate' feature will be removed in a future release of QPID."
+ " Queue-based flow control should be used instead.");
+ }
+
} catch (const std::exception& /*e*/) {
finalize();
throw;