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.