Your application may create a client that will subscribe to events transactionally. Clients are created by calling the
awNewBrokerTxClient function. The following example contains an excerpt that shows the use of the
awNewBrokerTxClient function in creating a subscribing client:
. . .
err = awNewBrokerTxClient(broker_host,broker_name,"Client
sub","default", "TransactionTest2",NULL,&txclient2);
if (!verifyNoError(__FILE__,"awNewBrokerTxClient",__LINE__,err)) {
return 0;
}
test
printf("Created broker transactional client to subscribe events.\n");
. . .