diff options
author | Kenneth Anthony Giusti <kgiusti@apache.org> | 2011-11-14 19:57:53 +0000 |
---|---|---|
committer | Kenneth Anthony Giusti <kgiusti@apache.org> | 2011-11-14 19:57:53 +0000 |
commit | 2a91c4aebf7c3a9bc705931a3f5d9f55093e0b7d (patch) | |
tree | 37e200d268d5d897af0bfa41d33a23868b491f04 /cpp/src | |
parent | a96cc1c44a02e7d438e160c220090dd080fa414c (diff) | |
download | qpid-python-2a91c4aebf7c3a9bc705931a3f5d9f55093e0b7d.tar.gz |
QPID-3615: deprecate max-session-rate feature.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1201854 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/qpid/broker/Broker.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/Broker.cpp b/cpp/src/qpid/broker/Broker.cpp index ec3cf9d340..a2ffcf8545 100644 --- a/cpp/src/qpid/broker/Broker.cpp +++ b/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; |