mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Mirabito (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DIRMINA-860) Setting the session idle time on NioDatagramAcceptor is getting ignored.
Date Fri, 09 Sep 2011 20:24:08 GMT
Setting the session idle time on NioDatagramAcceptor is getting ignored.
------------------------------------------------------------------------

                 Key: DIRMINA-860
                 URL: https://issues.apache.org/jira/browse/DIRMINA-860
             Project: MINA
          Issue Type: Bug
          Components: Transport
    Affects Versions: 2.0.4
            Reporter: Greg Mirabito


Setting the session idle time on NioDatagramAcceptor is getting ignored.
I use the following code to set the idle session timeout for UDP sessions to 5 minutes, but
the setting is ignored and the session closes after about 1 minute.

NioDatagramAcceptor udpIoAcceptor = new NioDatagramAcceptor(); 
 udpIoAcceptor.getSessionConfig().setBothIdleTime(300);
 udpIoAcceptor.getSessionConfig().setReaderIdleTime(300);
 udpIoAcceptor.getSessionConfig().setWriterIdleTime(300);

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message