summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/BrokerMessageBase.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/broker/BrokerMessageBase.h')
-rw-r--r--cpp/src/qpid/broker/BrokerMessageBase.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/BrokerMessageBase.h b/cpp/src/qpid/broker/BrokerMessageBase.h
index a6b039cd4d..73af3935a8 100644
--- a/cpp/src/qpid/broker/BrokerMessageBase.h
+++ b/cpp/src/qpid/broker/BrokerMessageBase.h
@@ -165,6 +165,8 @@ class Message : public PersistableMessage{
*/
virtual void releaseContent(MessageStore* /*store*/) {};
+ bool isImmediate() const { return immediate; }
+
private:
const ConnectionToken* publisher;
std::string exchange;