diff options
| author | Ted Ross <tross@apache.org> | 2010-09-07 12:53:37 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2010-09-07 12:53:37 +0000 |
| commit | d48c1c5847c308e85a48813fc1c4e5904422606a (patch) | |
| tree | d4b1b95b27e3b27332f6a47541927728e66e8826 /qpid/cpp | |
| parent | 17d601a4704959bfc87b00233870e011a82026fd (diff) | |
| download | qpid-python-d48c1c5847c308e85a48813fc1c4e5904422606a.tar.gz | |
Add heartbeat value to the simpler init() case. Applications that use this init function
will now get the protection of a connection heartbeat.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@993339 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
| -rw-r--r-- | qpid/cpp/src/qpid/agent/ManagementAgentImpl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/agent/ManagementAgentImpl.cpp b/qpid/cpp/src/qpid/agent/ManagementAgentImpl.cpp index 25d24a542c..7ecc5e9807 100644 --- a/qpid/cpp/src/qpid/agent/ManagementAgentImpl.cpp +++ b/qpid/cpp/src/qpid/agent/ManagementAgentImpl.cpp @@ -196,6 +196,7 @@ void ManagementAgentImpl::init(const string& brokerHost, settings.username = uid; settings.password = pwd; settings.mechanism = mech; + settings.heartbeat = 10; init(settings, intervalSeconds, useExternalThread, _storeFile); } |
