Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awMake | awMakeUniqueTxSubId
BrokerError awMakeUniqueTxSubId(
BrokerTxClient txclient,
int *sub_id);
The Broker client for whom the subscription ID is to be created.
The subscription ID. This parameter is used for output.
Creates a subscription ID for the specified txclient and returns it in the output parameter sub_id. This function queries the Broker for the client's open subscriptions and excludes any subscription IDs that are already in use. Use this function for clients that may have subscriptions that are open from a previous session.
After initially calling awMakeUniqueTxSubId, subsequent calls to awMakeTxSubId will return unique subscription IDs.
Possible BrokerError major codes
The txclient has been destroyed or disconnected.
The sub_id parameter is NULL.
See also: