Broker 10.15 | webMethods Broker Documentation | webMethods Broker Client Java API Programmer's Guide | Using Sequence Numbers | Receipt Sequence Numbers | 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 BrokerEvent.getReceiptSequenceNumber method to obtain the receipt sequence number from a received event.