Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awGet | awGetClientQueueLength
 
awGetClientQueueLength
BrokerError awGetClientQueueLength(
BrokerClient client,
int *n);
client
The Broker client whose queue length is to be returned.
n
The number of events currently in the Broker client's event queue. This parameter is used for output.
Provides the number of events currently in event queue for client.
Note:
The length returned will include any unacknowledged events in the queue. This means the length may be greater than you expect if your Broker client has received events, but has not yet acknowledged them.
Possible BrokerError major codes
Meaning
AW_ERROR_INVALID_CLIENT
The client has been destroyed or disconnected.
AW_ERROR_NULL_PARAM
The parameter n is NULL.
See also: