Broker 10.15 | webMethods Broker Documentation | webMethods Broker Client Java API Programmer's Guide | Using Broker Clients | Broker Connection Descriptors | Automatic Re-connection
 
Automatic Re-connection
 
Using Automatic Re-connection
Rules for Automatic Re-connection
You can use a connection description to enable automatic re-connection of a Broker client to a Broker in the event that the connection is lost. The automatic re-connection feature is disabled by default.
If your Broker client makes a request to the Broker and the connection has been lost, an attempt is made to reconnect to the Broker, just as if you had invoked the BrokerClient.newOrReconnect method.
You can use the BrokerConnectionDescriptor.setAutomaticReconnect method to enable or disable the automatic re-connection feature.
Use the BrokerConnectionDescriptor.getAutomaticReconnect method to determine whether this feature is currently enabled or disabled.