Is there a (built in) way to monitor sessions in apache mina. I want to keep track of total session active whenever a session is created/closed.
I know i can do it by keeping references of all the incoming session in my IoHandlerAdapter and remove one when the session is closed. I am looking for a built in way of doing it.