Broker 10.15 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | Using Request-Reply | The Server | Delivering Replies | Delivering Acknowledgment Replies
 
Delivering Acknowledgment Replies
Your server application may deliver an acknowledgment reply if the infoset for the request event type defines that a simple success or failure indication is all that is required. When invoking the awDeliverAckReplyEvent function, you may either specify a valid publish sequence number or specify a value of zero if you do not wish to use publish sequence numbers. For more information, see Using Sequence Numbers.
The following example illustrates how to use awDeliverAckReplyEvent to deliver an acknowledgment reply:
. . .
err = awDeliverAckReplyEvent(c,e,0);
if (err != AW_NO_ERROR) {
printf("Error on awDeliverAckReplyEvent\n");
return 0;
}
. . .