diff options
author | Gordon Sim <gsim@apache.org> | 2011-08-10 19:27:01 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2011-08-10 19:27:01 +0000 |
commit | 5e3d3ef4fd280e7a95a93a2803363209239a59c6 (patch) | |
tree | 2026b547cc2e94765cdcbc26d2dbc8b870b44ab5 /cpp/src/qpid/client | |
parent | c067d44b1f39a8480fd6aae4d6c8ba8ecf7e0d0e (diff) | |
download | qpid-python-5e3d3ef4fd280e7a95a93a2803363209239a59c6.tar.gz |
QPID-3411: Restore x-reconnect-on-limit-exceeded option
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1156327 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client')
-rw-r--r-- | cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp b/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp index 491d05a5dc..cc6e9b9ab2 100644 --- a/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp +++ b/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp @@ -132,6 +132,8 @@ void ConnectionImpl::setOption(const std::string& name, const Variant& value) settings.protocol = value.asString(); } else if (name == "ssl-cert-name" || name == "ssl_cert_name") { settings.sslCertName = value.asString(); + } else if (name == "x-reconnect-on-limit-exceeded" || name == "x_reconnect_on_limit_exceeded") { + reconnectOnLimitExceeded = value; } else { throw qpid::messaging::MessagingException(QPID_MSG("Invalid option: " << name << " not recognised")); } |