Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client Java API Programmer's Guide | Load Balancing and Failover for Publish Operations | Broker Cluster Publisher Connection Notification
 
Broker Cluster Publisher Connection Notification
 
Defining a Connection Callback Object
Registering the Connection Callback Object
Canceling the Connection Callback Object
The connection notification allows you to register a callback method for a BrokerClusterPublisher. The connection notification is invoked when a Broker client is added or removed from the Broker cluster publisher pool as triggered by the territory change activity on cluster monitor client. The connection notification feature is particularly useful for determining which Broker is available for cluster operations when there is a lot of join or leave activity on the territory.
Note:
The connection callback method has a global scope and only a single callback can be active at any given time. Registering a callback cancels the previously registered callbacks. Note that this connection callback on a BrokerClusterPublisher is not the same as the connection callback on a Broker client.