client | The Broker client that is beginning the transaction. |
transaction_id | The identifier of the transaction, created with the
awMakeTransactionId function. |
required_level | Indicates the requested level of the transaction being started, specified as one of the values in the table below. |
num_participants | The number of client identifiers contained in the participants array. May be set to zero. |
participants | An array of client identifiers that indicates which clients are allowed to interact with events publish as part of the transaction. |
reply_tag | If not NULL, indicates that an acknowledgement reply is requested and the tag value of the published event is returned. This parameter is used for output. |
Transaction Level | Meaning |
AW_TRANSACTION_LEVEL_ANY | Requests any of the following levels of transaction support from an adapter. |
AW_TRANSACTION_LEVEL_PSEUDO | Requests pseudo transaction support, described in
Transactional Client Processing
with Adapters. |
AW_TRANSACTION_LEVEL_BASIC | Requests basic transaction support, described in
Transactional Client Processing
with Adapters. |
AW_TRANSACTION_LEVEL_CONVERSATIONAL | Requests conversational transaction support, described in
Transactional Client Processing
with Adapters. |
Possible BrokerError major codes | Meaning |
AW_ERROR_INVALID_CLIENT | The client parameter is not NULL and has been destroyed or disconnected. |
AW_ERROR_NO_PERMISSION | The client does not have permission to publish the Adapter::beginTranaction event type. |
AW_ERROR_NULL_PARAM | The tranaction_id parameter is NULL. |