Broker 10.15 | webMethods Broker Documentation | webMethods Broker Client Java API Programmer's Guide | Using Broker Clients | Creating and Destroying Broker Clients | Destroying a Broker Client
 
Destroying a Broker Client
The following example shows the use of the destroy method. When a BrokerClient is destroyed, its event queue and all other client state information will also be destroyed.
. . .
BrokerClient c;
. . .
try {
c.destroy();
} catch (BrokerException ex) {
system.out.println("Error on client destroy\n"+ex);
return;
}
. . .