qpid-proton
qpid-proton copied to clipboard
PROTON-1442: [Cpp] Support for local transactions
AMQP Transaction Sequence:
- Declare transaction:
-
Client establishes link to Broker (Transaction resource) to target with transaction coordinator type (usual types are sender/receiver) (ATTACH frame)
-
Client (Transaction Controller) sends a special message to that link to create transaction (TRANSFER frame)
-
Broker returns a disposition with the transaction id (DISPOSITION frame)
- Send Message in the transaction:
- Client sends a message to the broker with transaction id in the state field.
- Commit/Abort