Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | Using Sequence Numbers | Receipt Sequence Numbers | Explicitly Acknowledging Events | Maintaining Receipt Sequence Number State
 
Maintaining Receipt Sequence Number State
To make the most of explicitly acknowledging receipt sequence numbers, your receiving applications should store, in some reliable way, the receipt sequence numbers of successfully processed events. This will allow your applications to continue receiving events where they left off if they should terminate and need to be restarted.
You can use the awGetEventReceiptSequenceNumber method to obtain the receipt sequence number from a received event.