#include <TxPublish.h>
Inherits qpid::broker::TxOp, and qpid::broker::Deliverable.
Public Member Functions | |
TxPublish (boost::intrusive_ptr< Message > msg) | |
virtual bool | prepare (TransactionContext *ctxt) throw () |
virtual void | commit () throw () |
virtual void | rollback () throw () |
virtual Message & | getMessage () |
virtual void | deliverTo (const boost::shared_ptr< Queue > &queue) |
uint64_t | contentSize () |
Messages are routed through exchanges when received but are not at that stage delivered to the matching queues, rather the queues are held in an instance of this class. On prepare() the message is marked enqueued to the relevant queues in the MessagesStore. On commit() the messages will be passed to the queue for dispatch or to be added to the in-memory queue.
Definition at line 48 of file TxPublish.h.