Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | Subscribing to and Receiving Events | Event Subscriptions | Subscribing to Events | Uniqueness of Subscriptions
Uniqueness of Subscriptions
Each subscription that your Broker client registers is considered to be unique, based on the Broker client handle, event type name, and filter that you specify. Once your Broker client registers a subscription with a particular Broker client, event type name, and filter combination, any attempts to register another subscription with the same subscription will be ignored.
The awNewSubscription function will not return an error if you attempt register the same subscription more than once, it will simply ignore the request.
You can use the awDoesSubscriptionExist function to determine if a subscription has already been registered.