summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qpid/cpp/src/qpid/broker/SessionState.cpp1
-rw-r--r--qpid/specs/management-schema.xml16
2 files changed, 9 insertions, 8 deletions
diff --git a/qpid/cpp/src/qpid/broker/SessionState.cpp b/qpid/cpp/src/qpid/broker/SessionState.cpp
index 18eb1b8466..587dcaf724 100644
--- a/qpid/cpp/src/qpid/broker/SessionState.cpp
+++ b/qpid/cpp/src/qpid/broker/SessionState.cpp
@@ -64,6 +64,7 @@ SessionState::SessionState(
(agent, this, parent, getId().getName());
mgmtObject->set_attached (0);
mgmtObject->set_detachedLifespan (0);
+ mgmtObject->clr_expireTime();
agent->addObject (mgmtObject);
}
}
diff --git a/qpid/specs/management-schema.xml b/qpid/specs/management-schema.xml
index 7a0543677f..da53a2f4a3 100644
--- a/qpid/specs/management-schema.xml
+++ b/qpid/specs/management-schema.xml
@@ -280,14 +280,14 @@
===============================================================
-->
<class name="Session">
- <property name="vhostRef" type="objId" references="Vhost" access="RC" index="y" parentRef="y"/>
- <property name="name" type="sstr" access="RC" index="y"/>
- <property name="channelId" type="uint16" access="RO"/>
- <property name="connectionRef" type="objId" references="Connection" access="RO"/>
- <property name="detachedLifespan" type="uint32" access="RO" unit="second"/>
-
- <statistic name="attached" type="bool"/>
- <statistic name="expireTime" type="absTime"/>
+ <property name="vhostRef" type="objId" references="Vhost" access="RC" index="y" parentRef="y"/>
+ <property name="name" type="sstr" access="RC" index="y"/>
+ <property name="channelId" type="uint16" access="RO"/>
+ <property name="connectionRef" type="objId" references="Connection" access="RO"/>
+ <property name="detachedLifespan" type="uint32" access="RO" unit="second"/>
+ <property name="attached" type="bool" access="RO"/>
+ <property name="expireTime" type="absTime" access="RO" optional="y"/>
+
<statistic name="framesOutstanding" type="count32"/>
<method name="solicitAck"/>