You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2012/07/09 21:17:35 UTC

[jira] [Closed] (DIRMINA-860) Setting the session idle time on NioDatagramAcceptor is getting ignored.

     [ https://issues.apache.org/jira/browse/DIRMINA-860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny closed DIRMINA-860.
-------------------------------------

    
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira