Overview

This page describes the classes involved in handling distributed transactions in the C++ broker. The store plugins are not described; only the classes in the broker proper are described here. The store plugin modules should have separate documentation.

Much of the code is common for local/one-phase transactions; however, this document is primarily concerned with distributed/two-phase transactions.

The basic approach taken in the C++ broker is that, once a transaction is begun, enqueue/dequeue commands received from a client are recorded in a list of operations associated with the transaction but not actually carried out until the transaction is committed (one phase) or prepared (two-phase).

Classes

These classes are all in the qpid::broker namespace.

Record-Keeping Classes

Operation Classes