Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awTx | awTxBeginTransaction
 
awTxBeginTransaction
BrokerError awTxBeginTransaction(
BrokerTxClient txclient,
char *external_id,
BrokerLong *tx_id);
txclient
The transactional Broker client that is beginning the transaction.
tx_id
The identifier of the transaction, created with the awMakeTxTransactionId function.
Begins a transaction. This gives you a unique transaction id (long tx_id) which is unique/Broker.
In addition, any of the communications errors can occur. If an error occurs, the local client object is still deleted from local memory.
Possible BrokerError major codes
Meaning
AW_ERROR_INVALID_CLIENT
The transactional client is not valid.