Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awEvent | awEventFormatAssemble
 
awEventFormatAssemble
BrokerError awEventFormatAssemble(
BrokerEvent event,
BrokerFormatToken *tokens,
char **result);
event
The event to be formatted.
tokens
The format string to use.
result
The resulting format string. This parameter is used for output.
Assembles a string from the list of tokens, replacing field references with values from event. A pointer to the resulting string is returned in result, which the caller is responsible for freeing.
Possible BrokerError major codes
Meaning
AW_ERROR_FIELD_NOT_FOUND
A field referenced in the tokens does not exist in the event.
AW_ERROR_INVALID_TYPE
A field is not of a type supported by the string formatter.
See also: