Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-556

ThreadedSocketAcceptor/DynamicAcceptorSessionProvider do not get checked by SessionTimerTask

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Default
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.5.1
    • Component/s: Engine
    • Labels:
      None

      Description

      ThreadedSocketAcceptor/DynamicAcceptorSessionProvider Sessions do not get checked by SessionTimerTask because sessionconnector is always null from ThreadPerSessionEventHandlingStrategy.

      DynamicAcceptorSessionProvider.getSession(...) {
      if(sessionConnector != null) {
      sessionConnector.addDynamicSession(s);
      }
      }

      ThreadPerSessionEventHandlingStrategy.getSessionConnector() {
      return null;
      }

      simple fix i tested was to just add the connector constructor like in SingleThread version

      public ThreadPerSessionEventHandlingStrategy(SessionConnector connector)

      { sessionConnector = connector; }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                andmer Andre Mermegas
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: