Broker 10.15 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | Using Request-Reply | The Server | Delivering Replies | Delivering One or More Reply Events
 
Delivering One or More Reply Events
Your server application may deliver one or more reply events in response to a single request event by calling the awDeliverReplyEvent or awDeliverReplyEvents function. The following example shows how to send multiple reply events using awDeliverReplyEvents:
. . .
long num;
BrokerEvent *reply_events;
. . .
/* prepare the reply events */
. . .
/* deliver the replies */
err = awDeliverReplyEvents(c,e,num, reply_events);
if (err != AW_NO_ERROR) {
printf("Error on awDeliverReplyEvents\n");
return 0;
}
. . .