Before your client application can publish or deliver an event, it must create the event and set the event's fields. The following example contains an excerpt from the
publish1.c sample application that shows the use of the
awNewBrokerEvent function to create an event. The function takes the following parameters: