Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | Using Sequence Numbers | Receipt Sequence Numbers | Default Acknowledgment With Callbacks
 
Default Acknowledgment With Callbacks
Your Broker client has much less flexibility in acknowledging events when it registers callback functions to process events, as described in Using the Callback Model. All callback functions must either return 1 (true) or 0 (false). If true is returned, the event will automatically be acknowledged. If false is returned, the event is assumed to have not been successfully handled and, therefore, it is not acknowledged.
Important:
If an event meets the criteria for more than one callback function and any one of the callback functions returns false, that event will not be acknowledged.