I am using an OmmConsumer to retrieve items from TREP. The OmmConsumer is quite standard and uses the default parameters, hence it downloads the dictionnary by itself.
When trying to retrieve items on ELEKTRON source, i have some fields for which the field mapping is not present.
I am accessing the FieldEntry of a RefreshMsg using RefreshMsg.payload().fieldList().
Some of those FieldEntry have the following:
- _rsslDictionaryEntry is null
- _toString value is: FieldEntry fid="6696" name="" dataType="Error" value="OmmError ErrorCode="FieldIdNotFound" OmmErrorEnd "
- loadType() is of type OmmError
Any idea why the dictionary is incomplete ?
One explanation is that your local Market Data team has not updated the Data Dictionary files on the server that you are connecting to.
Although I don't recommend you use local dictionaries in production, have you confirmed the app runs OK when using local dictionary files? This can be done by amending the EmaConfig.xml file to use DictionaryType:FileDictionary and ensuring the filenames for the RDMFieldDictionary and enumtype.def are configured with the correct path etc.
Once you confirm the app works fine with the local files, you should contact your market data team to confirm which versions of the dictionary files they have installed on the server you are connecting to.