Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client Java API Programmer's Guide | Load Balancing and Failover for Publish Operations | Using BrokerClusterPublisher | Creating and Destroying BrokerClusterPublisher
Creating and Destroying BrokerClusterPublisher
Creating a BrokerClientPublisher
BrokerClusterPublisher class has many conventional similarities with Broker client class. It has a constructor that uses parameters like Broker host, Broker name, client group name, client identifier and other application client properties as described by a BrokerConnectionDescriptor object. In addition, it also takes a BrokerConnectionDescrptor object that describes the connection parameters fro creating a cluster monitor client. This must be set properly when the system defined client group eventLog is set with ACL information using SSL or access labels.
Creating a BrokerClusterPublisher establishes a connection between your application and one or more Brokers.