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 | d31fbf50617e9073d7ea20c7be24342792dc80ea (patch) | |
| tree | f9859fbca388ed54651c0caf11e2c31401511ce6 /qpid/cpp/src | |
| parent | 6338bef094087e3619ceeda86a3a120869ff43b3 (diff) | |
| download | qpid-python-d31fbf50617e9073d7ea20c7be24342792dc80ea.tar.gz | |
QPID-3615: deprecate max-session-rate feature.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1201854 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/broker/Broker.cpp | 7 |
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; |
