diff options
Diffstat (limited to 'qpid/cpp/src/qpid/broker/Broker.cpp')
-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; |