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

Cannot receive incoming header DATA field

    Details

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

      Description

      When a DATA field is received, the quickfix looks for the corresponding LENGTH field in the received fields list BUT if the LENGTH and DATA fields are part of the header, they are not found. The extractField method from the Message class should check if the LENGTH fields is a header field and search for it in the corresponding list. (Not sure what to do with the group fields though)

      ex:
      try {
      if (group == null) {
      if (isHeaderField(lengthField))

      { fieldLength = header.getInt(lengthField); }

      else

      { fieldLength = getInt(lengthField); }

      } else

      { fieldLength = group.getInt(lengthField); }

      } catch (FieldNotFound e1)

      { throw new InvalidMessage(e1.getMessage()); }

        Attachments

          Activity

            People

            • Assignee:
              admin Steve Bate
              Reporter:
              anda André Malenfant
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: