summaryrefslogtreecommitdiff
path: root/cpp/broker/inc/Message.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/broker/inc/Message.h')
-rw-r--r--cpp/broker/inc/Message.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/broker/inc/Message.h b/cpp/broker/inc/Message.h
index 8b3321c2dc..7b2c2bc848 100644
--- a/cpp/broker/inc/Message.h
+++ b/cpp/broker/inc/Message.h
@@ -47,8 +47,7 @@ namespace qpid {
bool redelivered;
qpid::framing::AMQHeaderBody::shared_ptr header;
content_list content;
-
- u_int64_t contentSize();
+ u_int64_t size;
public:
typedef std::tr1::shared_ptr<Message> shared_ptr;
@@ -70,6 +69,8 @@ namespace qpid {
qpid::framing::BasicHeaderProperties* getHeaderProperties();
const string& getRoutingKey() const { return routingKey; }
const string& getExchange() const { return exchange; }
+ u_int64_t contentSize() const{ return size; }
+
};
}
}