summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2010-04-01 18:41:37 +0000
committerGordon Sim <gsim@apache.org>2010-04-01 18:41:37 +0000
commit0f150114eceda34771972fa4fb194b6eef6b1afa (patch)
treed974d1130c77ea8db761bbc2da7d359946b61297 /cpp/src
parent66491cc2d4b35cc62b1cf038ce6cd67554f46024 (diff)
downloadqpid-python-0f150114eceda34771972fa4fb194b6eef6b1afa.tar.gz
QPID-664: minor adjustment to connection option names
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@930061 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp b/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp
index ee044aaf2b..5828449d5e 100644
--- a/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp
+++ b/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp
@@ -113,10 +113,10 @@ void ConnectionImpl::setOptions(const Variant::Map& options)
if (setIfFound(options, "reconnect-interval", reconnectInterval)) {
minReconnectInterval = maxReconnectInterval = reconnectInterval;
} else {
- setIfFound(options, "min-reconnect-interval", minReconnectInterval);
- setIfFound(options, "max-reconnect-interval", maxReconnectInterval);
+ setIfFound(options, "reconnect-interval-min", minReconnectInterval);
+ setIfFound(options, "reconnect-interval-max", maxReconnectInterval);
}
- setIfFound(options, "urls", urls);
+ setIfFound(options, "reconnect-urls", urls);
}
void ConnectionImpl::setOption(const std::string& name, const Variant& value)