Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | Transaction Semantics | Using Transaction Processing | Publishing Events | Publishing Multiple Events
 
Publishing Multiple Events
Your application may publish several events with one call to the awTxPublishEvents function. The following example contains an excerpt that shows the use of the awTxPublishEvents function publishing multiple events:
. . .
e_array[0] = e;
e_array[1] = e;

err = awTxPublishEvents(txclient,2,e_array);
if (!verifyNoError(__FILE__,"awTxPublishEvents",__LINE__,err)) {
return 0;
}
. . .