summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/agent
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/agent')
-rw-r--r--cpp/src/qpid/agent/ManagementAgentImpl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/agent/ManagementAgentImpl.cpp b/cpp/src/qpid/agent/ManagementAgentImpl.cpp
index 076a34d1bf..23cd284a2f 100644
--- a/cpp/src/qpid/agent/ManagementAgentImpl.cpp
+++ b/cpp/src/qpid/agent/ManagementAgentImpl.cpp
@@ -374,6 +374,7 @@ void ManagementAgentImpl::sendHeartbeat()
map["_values"] = attrMap;
map["_values"].asMap()["timestamp"] = uint64_t(Duration(now()));
map["_values"].asMap()["heartbeat_interval"] = interval;
+ map["_values"].asMap()["epoch"] = bootSequence;
MapCodec::encode(map, content);
connThreadBody.sendBuffer(content, "", headers, addr_exchange, addr_key);
@@ -673,6 +674,7 @@ void ManagementAgentImpl::handleLocateRequest(const string&, const string& cid,
map["_values"] = attrMap;
map["_values"].asMap()["timestamp"] = uint64_t(Duration(now()));
map["_values"].asMap()["heartbeat_interval"] = interval;
+ map["_values"].asMap()["epoch"] = bootSequence;
MapCodec::encode(map, content);
connThreadBody.sendBuffer(content, cid, headers, addr_exchange, replyTo);