Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client Java API Programmer's Guide | Load Balancing and Failover for Publish Operations | Using BrokerClusterPublisher | Destroying a BrokerClusterPublisher
 
Destroying a BrokerClusterPublisher
The following example contains an excerpt from a sample application that shows the use of destroy method.
BrokerClusterPublisher bcp;
. . .
/* Destroy */
try {
bcp.destroy();
} catch (B rokerException ex) {
System.out.println("Error on destroy\n"+ex);
return;
}
. . .