Is there a way to configure or disable Session Idle checker?
I used following code (writing an example with monitoring). I need to test
the Stats, so need a longer timeout.
server.getSessionConfig().setIdleTimeInMillis(IdleStatus.READ_IDLE,
60*60*60);
There is a typo in LoggingFilter, where messageSent print IDLE, fixed it,
and here are the logs
[29 Jul 2013 18:21:30,829] [main] INFO
org.apache.mina.monitoring.NioTcpEchoServerWithMonitoring - starting echo
server
[29 Jul 2013 18:21:30,934] [main] INFO
From the IoSession javadoc, perhaps it's not obvious and we should add
a method :
/**
* Set the delay before an {@link IoSession} is considered idle for a given
* operation type (read/write/both) @see IdleStatus
*
* @param status the type of idle (read/write/both)
damn.. good catch :)
--
Julien Vermillard http://people.apache.org/~jvermillard/
On Mon, Jul 29, 2013 at 2:52 PM, Ashish paliwalash...@gmail.com wrote:
There is a typo in LoggingFilter, where messageSent print IDLE, fixed it,
and here are the logs
[29 Jul 2013 18:21:30,829] [main] INFO