Broker 10.15 | webMethods Broker Documentation | webMethods Broker Client Java API Programmer's Guide | Transaction Semantics | Using Broker Transaction Clients | Destroying the Transactional Client
 
Destroying the Transactional Client
Use the destroy method to destroy a transactional client. When a transactional client is destroyed, its event queue and all other client state information will also be destroyed. The following example contains an excerpt that shows the use of the destroy method.
. . .
//destroy the transactional client
try {
pub.destroy();
} catch (BrokerException ex) {
System.out.println ("Failed to destroy pub client\n" + ex);
System.exit(1);
}
. . .