Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client Java API Programmer's Guide | Load Balancing and Failover for Publish Operations | Using BrokerClusterPublisher | Obtaining Client Identifiers
 
Obtaining Client Identifiers
The best way to obtain an identifier of another Broker client is by retrieving the pubId envelope field from an event published by that client, as described in Obtaining Client Identifiers. But you can always use BrokerClusterPublisher.getClientId for obtaining application client identifier and BrokerClusterPublisher.getMonitorClientId for cluster monitor's client ID.
Note:
A client identifier cannot start with a # character, nor can it contain / or @ characters. See Parameter Naming Rules for complete details.