Broker 10.15 | webMethods Broker Documentation | webMethods Broker Client Java API Programmer's Guide | Using Broker Clients | Broker Connection Descriptors | Sharing Client State | State Sharing Methods
 
State Sharing Methods
Use the BrokerConnectionDescriptor.getStateShare method to determine whether client state sharing is enabled or disabled for a particular connection descriptor.
Use the BrokerConnectionDescriptor.setStateShare method to enable or disable the sharing of the client state associated with the connection descriptor.
In addition to these methods, you can use the BrokerClient.getConnectionShareLimit and BrokerClient.setConnectionShareLimit methods to obtain and limit the number of Broker clients that can share a particular client state.