Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | Transaction Semantics | Using Transaction Processing | Publishing Events | Determining if an Event Can be Published
 
Determining if an Event Can be Published
By calling the awTxCanPublish function you can determine if an event can be published. The following example contains an excerpt that shows the use of the awTxCanPublish function to determine whether an event can be published:
. . .
err = awTxCanPublish(txclient,"APITest::Simple",&b);
if (!verifyNoError(__FILE__,"awTxCanPublish",__LINE__,err)) {
return 0;
}
. . .