You application can generate subscription identifiers itself or it can call one of the following webMethods Broker API methods to generate a subscription identifier.
The
BrokerClient.makeSubId method creates a subscription identifier for a specified client. The first time it is called for a particular
BrokerClient, it will return a value of 1. The second time it is called for the same
BrokerClient, it will return a value of 2, and so on. The subscription identifiers are not guaranteed to be unique if your application disconnects and reconnects the
BrokerClient, as described in
Disconnecting and Reconnecting.