I am trying to see if we could automatically expire the clients which are statused “not connected” so that we dont have to manually get in and remove the queues with bunch of documents but are not connected.
Check the properties of the clientgroup - the lifecycle should be destroy on disconnect - your clientgroup is probably set to have an explicit destroy lifecycycle.
What are the implications of having destroy on disconnect for client group in Production environment is it advisable to have “Integration Server” Client Group as “destroy on disconnect” in production. I will go through the documentation but just wanted to know if you have information of the bat.
I dont think you can modify a clientgroup once it has been created. What version of the Wm Broker are you using? You may have to recreate the clientgroup and allow the clients to reconnect with the modified client groups.
You could write a client using the API available to disconnect the clients that are not connected and have an empty queue which you could run automatically.
You should use Explicit destroy if you need to maintain state information in the broker between connections and destroy on disconnect for those that dont need to maintain any state - refer to webMethods Broker Administrators Guide (v.6.0.1) p. 87
I would look into creating a client using Broker API. Defnitely I think we need to go for explicit destroy in Production environment as we want to preserve the state information but in Dev and QA we go for destroy on disconnect.