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 (Message::shared_ptr msg)
virtual bool prepare (TransactionContext *ctxt) throw ()
virtual void commit () throw ()
virtual void rollback () throw ()
virtual void deliverTo (Queue::shared_ptr &queue)


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 Tue Apr 17 14:22:15 2007 for Qpid by  doxygen 1.4.7