summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/Message.cpp
diff options
context:
space:
mode:
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 21908256a1..b60a95228d 100644
--- a/cpp/src/qpid/broker/Message.cpp
+++ b/cpp/src/qpid/broker/Message.cpp
@@ -84,6 +84,11 @@ bool Message::isPersistent()
return getAdapter().isPersistent(frames);
}
+bool Message::requiresAccept()
+{
+ return getAdapter().requiresAccept(frames);
+}
+
uint32_t Message::getRequiredCredit() const
{
//add up payload for all header and content frames in the frameset