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

How can i keep right tag order when i parse fix message

    Details

    • Type: Other
    • Status: Closed
    • Priority: Default
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      JDK5.0

      Description

      Hi:
      I met a problem when I parse fix message by quickfixj. I refer an example from here http://www.quickfixj.org/confluence/display/qfj/Using+Message+Metadata
      So according to this example, I use FieldMap.iterator() to get all of the tag elements from message object, but when i loop the iterator, i find the tag order is not correct. Like the example, the tag "MsgType" is fourth, but fix protocol define it should be third.
      So could you tell me how to keep the right order, or other way to create new Message when i get all of tag elements parsed by FieldMap.iterator().

      My test fix message : 8=FIX.4.4\0019=263\00135=s\00149=CLIENT\00156=ASX\00134=287 ......
      output result : 8=FIX.4.4\0019=263\00134=287\00135=s\00149=CLIENT......

      I'm not native english speaker, i'm not sure i describe the question clearly, if you have any question, please let me know. Thank you very much.

      Kind Regards
      Kelser.Wang

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kesler kesler.wang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: