Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | Transaction Semantics | Using Transaction Processing | Publishing Events | Publishing a Single Event
Publishing a Single Event
After initializing the necessary event fields, your application may publish an event within a transaction by calling the awTxPublishEvent function. The following example contains an excerpt that shows the use of the awTxPublishEvent function to publish a single event within a transaction:
. . .
err = awTxPublishEvent(txclient,e);
if (!verifyNoError(__FILE__,"awTxPublishEvent",__LINE__,err)) {
return 0;
. . .