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

Specify order of signature-related trailer fields

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Default
    • Resolution: Fixed
    • Affects Version/s: 1.2.1
    • Fix Version/s: 1.3.1
    • Component/s: Engine
    • Labels:
      None
    • Environment:
      Using JVM 1.5 on WindowsXP.

      Description

      Field 93 is SignatureLength, Field 89 is Signature. The fields 89 and 93 are in the trailer. 89 is DataField. 93 is the length of 89. When receives a message containing field 89, accptor will extract every field in order. 89 is extracted earlier. Acceptor cannot find the length of it(93) at this time. So exception occurs.

      A effective method is to change the order of message. Put the field 93 former to the field 89. Thus, the field 93 is extracted earlier than 89. Use this method:
      Message.Trailer.calculateString():
      super.calculateString( buffer, new int[]

      { SignatureLength.FIELD }

      , new int[]

      {CheckSum.FIELD }

      );

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              caiqi CaiQi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: