summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/Message.cpp
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2010-04-16 19:03:36 +0000
committerTed Ross <tross@apache.org>2010-04-16 19:03:36 +0000
commit85b7fcf4ac84815066720b472ac29a20379df204 (patch)
tree8c964cb97ce3a1ed3772cfd77d74808d888a7d4d /cpp/src/qpid/broker/Message.cpp
parent718a7e434cd99d8d20e59e25ae34b8c51e9bfc22 (diff)
downloadqpid-python-85b7fcf4ac84815066720b472ac29a20379df204.tar.gz
Fixed problems with the broker's QMFv2 mode:
- app_id is a message property, not an application header - even in v2 mode, the agent must respond to v1 schema requests - missing object_id was added to the periodic data updates - epoch/boot-sequence added to agent information (locate-response, heartbeat) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935044 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Message.cpp')
-rw-r--r--cpp/src/qpid/broker/Message.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/Message.cpp b/cpp/src/qpid/broker/Message.cpp
index 65106cb99b..b086d59ca5 100644
--- a/cpp/src/qpid/broker/Message.cpp
+++ b/cpp/src/qpid/broker/Message.cpp
@@ -99,6 +99,11 @@ const FieldTable* Message::getApplicationHeaders() const
return getAdapter().getApplicationHeaders(frames);
}
+std::string Message::getAppId() const
+{
+ return getAdapter().getAppId(frames);
+}
+
bool Message::isPersistent() const
{
return (getAdapter().isPersistent(frames) || forcePersistentPolicy);