summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/Queue.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2011-03-11 14:58:31 +0000
committerGordon Sim <gsim@apache.org>2011-03-11 14:58:31 +0000
commitfe8b01ff70cf8212ff425941e24750724a828e36 (patch)
tree0102eb955387a2099a7512cc8866c754d9007edf /cpp/src/qpid/broker/Queue.cpp
parent9075a708df74f0eabf3a776962030679f7edcb16 (diff)
downloadqpid-python-fe8b01ff70cf8212ff425941e24750724a828e36.tar.gz
QPID-3136: Add option to disable defaults for queue threshold alerts
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1080589 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Queue.cpp')
-rw-r--r--cpp/src/qpid/broker/Queue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/Queue.cpp b/cpp/src/qpid/broker/Queue.cpp
index 02ec67f839..7a266fb4e3 100644
--- a/cpp/src/qpid/broker/Queue.cpp
+++ b/cpp/src/qpid/broker/Queue.cpp
@@ -776,7 +776,7 @@ void Queue::configureImpl(const FieldTable& _settings)
setPolicy(QueuePolicy::createQueuePolicy(getName(), _settings));
}
if (broker && broker->getManagementAgent()) {
- ThresholdAlerts::observe(*this, *(broker->getManagementAgent()), _settings);
+ ThresholdAlerts::observe(*this, *(broker->getManagementAgent()), _settings, broker->getOptions().queueThresholdEventRatio);
}
//set this regardless of owner to allow use of no-local with exclusive consumers also