diff options
| author | Ken Giusti <kgiusti@apache.org> | 2011-11-14 19:57:53 +0000 |
|---|---|---|
| committer | Ken Giusti <kgiusti@apache.org> | 2011-11-14 19:57:53 +0000 |
| commit | 563de70439e61da9f01f716cfa22a50d952ecbaf (patch) | |
| tree | 37e200d268d5d897af0bfa41d33a23868b491f04 /cpp/src | |
| parent | 78a52f5bc5e325b4b15d3a542d953418869bb212 (diff) | |
| download | qpid-python-563de70439e61da9f01f716cfa22a50d952ecbaf.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; |
