Your application may cancel an event subscription by calling the
awCancelSubscription. The following example contains an excerpt from the
subscribe1.c sample application that shows the use of the
awCancelSubscription function. The function accepts these parameters:
. . .
BrokerClient c;
. . .
/* Cancel the subscription */
err = awCancelSubscription(c, "Sample::SimpleEvent", NULL);
if (err != AW_NO_ERROR) {
printf("Error on canceling subscription\n%s\n", awErrorToString(err));
return 0;
}
. . .