Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | Transaction Semantics | Using Transaction Processing | Subscribing and Getting Events | Getting an Event Within a Transaction
 
Getting an Event Within a Transaction
By calling the awGetTxExternalId function you can begin a transaction on the subscribing client. The following example contains an excerpt that shows the use of the awGetTxExternalId function to create a subscribing client:
. . .
err = awTxGetEvent(txclient2, 60000, &e);
if (!verifyNoError(__FILE__,"awTxGetEvent",__LINE__,err)) {
return 0;
}
. . .