summaryrefslogtreecommitdiff
path: root/cpp/lib/broker/TxPublish.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/lib/broker/TxPublish.h')
-rw-r--r--cpp/lib/broker/TxPublish.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/lib/broker/TxPublish.h b/cpp/lib/broker/TxPublish.h
index 2756addab7..75f201257e 100644
--- a/cpp/lib/broker/TxPublish.h
+++ b/cpp/lib/broker/TxPublish.h
@@ -60,10 +60,11 @@ namespace qpid {
};
Message::shared_ptr msg;
+ const std::string* const xid;
std::list<Queue::shared_ptr> queues;
public:
- TxPublish(Message::shared_ptr msg);
+ TxPublish(Message::shared_ptr msg, const std::string* const xid = 0);
virtual bool prepare(TransactionContext* ctxt) throw();
virtual void commit() throw();
virtual void rollback() throw();