Hi, I want to add feature to IoSession where throttleExceeded(IoSession
ioSession, Object obj) will be called whenever  number of messages per sec
increases a defined threshold.

Any suggestion ?

DIRMINA-389 <http://issues.apache.org/jira/browse/DIRMINA-389> talks about a
different kind of throttling where filter kicks in when "newly created
sessions and if new connections from the same IP address come in too fast,
drop the connections. "

but my requirement is some what different, i want a solution to control the
throttle number of messages sent by the client over a period of time
(ideally messages / sec)


Thanks and Regards
Arun Soman

Reply via email to