Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-860

Setting the session idle time on NioDatagramAcceptor is getting ignored.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 2.0.4
    • Fix Version/s: None
    • Component/s: Transport
    • Labels:
      None

      Description

      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);

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mirabg Greg Mirabito
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: