Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awAcknowledge | awAcknowledgeThrough
 
awAcknowledgeThrough
BrokerError awAcknowledgeThrough(
BrokerClient client,
BrokerLong seqn);
client
The Broker client that is acknowledging the receipt of an event.
seqn
The sequence number of the event to acknowledge. A value of 0 acknowledges all the events received that were previously unacknowledged.
Acknowledges the receipt of all events received by a Broker client, up to and including the event with the sequence number specified by seqn. If seqn is set to 0, all previously unacknowledged events are acknowledged. By acknowledging the events it has received, a Broker client ensures that the Broker will not send those events to the Broker client again. To acknowledge a single event, use the awAcknowledge function.
Possible BrokerError major codes
Meaning
AW_ERROR_INVALID_ACKNOWLEDGENT
The seqn is not a valid event to acknowledge.
AW_ERROR_INVALID_CLIENT
The client has been destroyed or disconnected.
AW_ERROR_OUT_OF_RANGE
The seqn is less than zero.
See also: