Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awPublish | awPublishEvent
 
awPublishEvent
BrokerError awPublishEvent(
BrokerClient client,
BrokerEvent event)
client
The Broker client that wishes to publish the event.
event
The event to be published.
Sends the specified event to the Broker for publication.
Note:
This function can fail if the Broker client does not have permission to publish the event type, based on its client group, or if the event is not properly formed. See awCanPublish for more information.
Possible BrokerError major codes
Meaning
AW_ERROR_INVALID_CLIENT
The client is not valid.
AW_ERROR_INVALID_EVENT
The event is not valid or the event does not match its type definition.
AW_ERROR_NO_PERMISSION
The client does not have permission to publish the event type.
AW_ERROR_UNKNOWN_EVENT_TYPE
The event type does not exist on the Broker.
See also: