The feature would be enabled by default but you can disable it easily by issuing the call IoAcceptor.setDisconnectClientsOnUnbind(false).
/Niklas Srikanth Veeramachaneni wrote: > << I've added code to the VmPipe and Socket transports (inspired by > Federico's patch) which keep track of managed sessions and closes all > client sessions when unbind() is called.>> > > Would this feature be optional or would it be the default behavior. > The reason I am asking is, I have a requirement that when the > server is shutting down, all current sessions need to be sent > a message indicating that the server is shutting down and then > closed. The way I thought of implementing this is in the following > sequence. > > 1. Unbind all services > 2. Process all pending requests > 3. Send shutdown message to current sessions > 4. Close sessions. > > So my approach would work only if unbind doesn't close sessions. > > thanks, > Srikanth
