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

Add msgTypeName -> msgType mapping to DataDictionary

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.5
    • Fix Version/s: 1.1.0
    • Component/s: Engine
    • Labels:
      None
    • Environment:
      Windows, Solaris

      Description

      I need msgTypeName -> msgType mappings in the DataDictionary class. Here's my use case: I have a requirement to be able to change the message metadata dynamically. For example, if a custom field tag value is wrong in a running system, then I should be able to correct it without bouncing the system. Hence message creation and parsing should be completely metadata driven (no hard coding of msgTypes and field tag values is allowed). Looking at the DataDictionary interface, I think message parsing can be completely driven by it, but I am not sure if message creation can be driven by the same metadata. For creating a message, I need to set the MsgTpe. However given a message name (e.g. "NewOrderSingle"), I don't see any way to get the msgType (e.g. "D") . What is needed is a simple method on the DataDictionary that returns a msgType given the message name. For example,

      String getMsgType(String msgName);

      Thus dd.getMsgType("NewOrderSingle") will return "D".

      Is this a convincing use case to add the method to DataDictionary API? Is there another way to solve the issue?

        Attachments

          Activity

            People

            • Assignee:
              admin Steve Bate
              Reporter:
              nbhatia Naresh Bhatia
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: