qpid::broker::TxPublish Class Reference

Defines the behaviour for publish operations on a transactional channel. More...

#include <TxPublish.h>

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 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:
Generated on Thu Apr 10 11:09:00 2008 for Qpid by  doxygen 1.4.7