Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awSet | awSetDescriptorAutomaticReconnect
BrokerError awSetDescriptorAutomaticReconnect(
BrokerConnectionDescriptor desc,
BrokerBoolean reconnect);
The Broker descriptor. This parameter is used for output.
If set to 1 (true) , the automatic reconnect behavior is enabled for this descriptor. Otherwise, it is disabled.
Enables or disables the automatic reconnection feature for this descriptor, based on the setting of the reconnect parameter.
You can disable the automatic reconnection feature by explicitly invoking awDisconnectClient or awDestroyClient.
If automatic reconnection is enabled, the Broker client associated with this descriptor will be automatically reconnected if the connection to the Broker is lost.
See Automatic Reconnection for a complete discussion of the automatic reconnect feature.
Possible BrokerError major codes
The desc parameter is invalid.
See also: