qpid::broker::TxPublish Class Reference
Defines the behaviour for publish operations on a transactional channel.
More...
#include <TxPublish.h>
Inherits qpid::broker::TxOp, and qpid::broker::Deliverable.
List of all members.
|
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 (Queue::shared_ptr &queue) |
uint64_t | contentSize () |
Detailed Description
Defines the behaviour for publish operations on a transactional channel.
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.
The documentation for this class was generated from the following file:
- /home/jross/checkouts/qpid/cpp/src/qpid/broker/TxPublish.h