Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | Transaction Semantics | Using Transaction Processing | Publishing Events
 
Publishing Events
 
Determining if an Event Can be Published
Publishing a Single Event
Publishing Multiple Events
When your transactional client application publishes an event, the Broker places it in the event queue of each BrokerTxClient that has subscribed to that event type.
Note:
For information about defining event types, see the Software AG Designer Online Help.
In order for your application to be able to publish an event, it must first create a BrokerTxClient, as described on Beginning a Transaction. Then, use the awTxBeginTransaction function to begin the transaction. Your application may then use the BrokerTxClient to create an event, as described on Setting Structure Fields. After setting the event fields, your application is ready to publish the event.