summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/Message.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/client/Message.h')
-rw-r--r--cpp/src/qpid/client/Message.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/Message.h b/cpp/src/qpid/client/Message.h
index 655fc89457..b2ae273813 100644
--- a/cpp/src/qpid/client/Message.h
+++ b/cpp/src/qpid/client/Message.h
@@ -38,7 +38,10 @@ namespace client {
class Message : public framing::TransferContent
{
public:
- Message(const std::string& data_=std::string()) : TransferContent(data_) {}
+ Message(const std::string& data_=std::string(),
+ const std::string& routingKey=std::string(),
+ const std::string& exchange=std::string()
+ ) : TransferContent(data_, routingKey, exchange) {}
std::string getDestination() const
{