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

'MessageStore.reset()' called extraneously outside session time window

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Default
    • Resolution: Fixed
    • Affects Version/s: 1.5.3
    • Fix Version/s: 1.6.0
    • Component/s: Engine

      Description

      The 'MessageStore.reset()' method is being called every second when beyond the session time window.

      After reviewing the QF/J source code, the problem seems to be originating from the "QFJ Timer" thread calling 'Session.next()'. The following code appears at line 1748 of the 'quickfix/Session.java' class in QuickFIX/J 1.5.3 source code directory...

      if (!checkSessionTime())

      { reset(); return; }

      Due to the timer thread, this occurs every second for every session and can be quite resource intensive... especially if there is a substantial number of sessions defined that are not within the configured session start/end times.

        Attachments

          Activity

            People

            • Assignee:
              chrjohn Christoph John
              Reporter:
              thannon Tommy Hannon
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: