Details

    • Type: Other
    • Status: Closed
    • Priority: Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Hi,

      I would like to know how to read a non-standard group type from messages (in other words, a group not defined via FIX standard).

      The group starts with tag 552 (NoSides), and proceeds with tags 54, 37, 11, 453 (NoPartyIDs, which is a sub group), and 58.
      Sub group 453 contains tags 448 and 452. All I'm really concerned about is getting tag 54 from the message. As a result, I
      am creating a separate class that extends the Group interface as follows:

      public class NoSides extends quickfix.Group {

      public NoSides()

      { super(552,54); }

      }

      Where, if I'm reading the documentation correctly, 552 should specify the number field of the group (NoSides), and 54 should
      indicate the next field tag. However, I'm a bit confused about how to extract the Side field (field 54) from the message once I get it. I am currently
      using the following code:

      NoSides group = new NoSides();
      StringField sidefield = new StringField(54);
      System.out.println(message.getGroup(1, group).getField(sidefield).getValue());

      But I don't think that that is working correctly. Any advice?

      Thanks,
      Herman

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hhung Herman Hung
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: