Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awGet | awGetTypeDefTimeToLive
 
awGetTypeDefTimeToLive
BrokerError awGetTypeDefTimeToLive(
BrokerTypeDef type_def,
int *time_to_live);
type_def
The type definition whose name is to be returned.
time_to_live
The location where the time-to-live value is to be returned. This parameter is used for output.
Obtains the time, in seconds, that an event type will be available after being published before it expires or is destroyed. A return value of zero indicates the event will never expire.
Possible BrokerError major codes
Meaning
AW_ERROR_INVALID_EVENT
The event is invalid.
AW_ERROR_INVALID_TYPEDEF
The event is not associated with a Broker client.
AW_ERROR_NULL_PARAM
The parameter time_to_live is NULL.