EmaConfig.xml - Path for RDMFieldDictionary and enumtype.def
From Client:
Also with regards to the EmaConfig.xml file (and files it references, such as RDMFieldDictionary and enumtype.def), how do other clients go about handling relative paths for these files?
The locations of configuration files like these differ for us between testing and production environments. Typically we handle this by loading files as classpath resources, but that the file names specified in EmaConfig.xml must be relative physical paths.
We can re-write the file paths at run-time before calling the Refinitiv API, but wanted to make sure there isn't a better solution first.
Best Answer
-
Hello @michael.theimer01
I checked both EMA Document and the API itself. The EMA API supports loading the entire EmaConfig.xml file from the classpath resources only, but not for the Dictionary files. The location dictionary files location now support relative physical paths string.
If the client needs this feature in the future release of the SDK, the client can submit an enhancement request to the product team via the https://my.refinitiv.com/content/mytr/en/feedback.html page.
1
Answers
-
Hello @michael.theimer01
The client can set <DictionaryType value="DictionaryType::ChannelDictionary"/> to let the API request and download Dictionary information from the infrastructure (ADS, RTO) for the application.
Please see more detail about the DictionaryType configuration from the Enterprise Message API (EMA) - Configuration Overview article.
Example:
<Consumer>
<Name value="Consumer_1"/>
<Channel value="Channel_1"/>
<Dictionary value="Dictionary_1"/>
<XmlTraceToStdout value="0"/>
</Consumer>
...
<Dictionary>
<Name value="Dictionary_1"/>
<!-- dictionaryType is optional: defaulted to ChannelDictionary" -->
<!-- possible values: ChannelDictionary, FileDictionary -->
<!-- if dictionaryType is set to ChannelDictionary, file names are ignored -->
<DictionaryType value="DictionaryType::ChannelDictionary"/>
</Dictionary>0 -
Thank you wasin.w for your answer, but client want to use RCC Contribution Channel and RCC don't have the option to download the dictionary. So the only option is a path I guess. Please correct me if I'm wrong.
Best Regards, Michael0 -
Hi API Support Team, can you please confirm that RCC don't have the download option. Thank You.
0 -
I checked the source directory of the DDS_TRCE provided by RCC.
<refreshMsg domainType="RSSL_DMT_SOURCE" streamId="2" containerType="RSSL_DT_MAP" flags="0x68 (RSSL_RFMF_HAS_MSG_KEY|RSSL_RFMF_SOLICITED|RSSL_RFMF_REFRESH_COMPLETE)" groupId="0" dataState="RSSL_DATA_OK" streamState="RSSL_STREAM_OPEN" code="RSSL_SC_NONE" text="" dataSize="195">
<key flags="0x8 (RSSL_MKF_HAS_FILTER)" filter="11"/>
<dataBody>
<map flags="0x0" countHint="0" keyPrimitiveType="RSSL_DT_UINT" containerType="RSSL_DT_FILTER_LIST" >
<mapEntry flags="0x0" action="RSSL_MPEA_ADD_ENTRY" key="10" >
<filterList containerType="RSSL_DT_ELEMENT_LIST" countHint="0" flags="0x0">
<filterEntry id="1" action="RSSL_FTEA_SET_ENTRY" flags="0x0" containerType="RSSL_DT_ELEMENT_LIST">
<elementList flags="0x8 (RSSL_ELF_HAS_STANDARD_DATA)">
<elementEntry name="Name" dataType="RSSL_DT_ASCII_STRING" data="DDS_TRCE"/>
<elementEntry name="Vendor" dataType="RSSL_DT_ASCII_STRING" data="Refinitiv"/>
<elementEntry name="Capabilities" dataType="RSSL_DT_ARRAY">
<array itemLength="0" primitiveType="RSSL_DT_UINT">
<arrayEntry data="127"/>
<arrayEntry data="6"/>
</array>
</elementEntry>
<elementEntry name="QoS" dataType="RSSL_DT_ARRAY">
<array itemLength="0" primitiveType="RSSL_DT_QOS">
<arrayEntry qosDynamic="0" qosRate="1" qosTimeliness="1"/>
</array>
</elementEntry>
<elementEntry name="SupportsOutOfBandSnapshots" dataType="RSSL_DT_UINT" data="0"/>
</elementList>
</filterEntry>
</mapEntry>
</map>
</dataBody>
</refreshMsg>It doesn't contain 5 (RSSL_DMT_DICTIONARY) in its Capabilities and it doesn't provide the DictionariesProvided element entry.
Compared to the Real-Time service (ELEKTRON_DD), it provides both the RSSL_DMT_DICTIONARY (5) capability and the DictionariesProvided element entry.
<mapEntry flags="0x0" action="RSSL_MPEA_ADD_ENTRY" key="10002" >
<filterList containerType="RSSL_DT_ELEMENT_LIST" countHint="0" flags="0x0">
<filterEntry id="1" action="RSSL_FTEA_SET_ENTRY" flags="0x0" containerType="RSSL_DT_ELEMENT_LIST">
<elementList flags="0x8 (RSSL_ELF_HAS_STANDARD_DATA)">
<elementEntry name="Name" dataType="RSSL_DT_ASCII_STRING" data="ELEKTRON_DD"/>
<elementEntry name="SupportsQoSRange" dataType="RSSL_DT_UINT" data="0"/>
<elementEntry name="QoS" dataType="RSSL_DT_ARRAY">
<array itemLength="0" primitiveType="RSSL_DT_QOS">
<arrayEntry qosDynamic="0" qosRate="2" qosTimeliness="1"/>
</array>
</elementEntry>
<elementEntry name="Capabilities" dataType="RSSL_DT_ARRAY">
<array itemLength="1" primitiveType="RSSL_DT_UINT">
<arrayEntry data="5"/>
<arrayEntry data="6"/>
<arrayEntry data="7"/>
...
</array>
</elementEntry>
<elementEntry name="DictionariesProvided" dataType="RSSL_DT_ARRAY">
<array itemLength="0" primitiveType="RSSL_DT_ASCII_STRING">
<arrayEntry data="RWFFld"/>
<arrayEntry data="RWFEnum"/>
</array>
</elementEntry>
<elementEntry name="DictionariesUsed" dataType="RSSL_DT_ARRAY">
<array itemLength="0" primitiveType="RSSL_DT_ASCII_STRING">
<arrayEntry data="RWFFld"/>
<arrayEntry data="RWFEnum"/>
</array>
</elementEntry>According to this information, the DDS_TRCE service doesn't support dictionary requests.
However, to confirm the behavior in the product, please contact the Refinitiv Contributions Channel support team directly via MyRefinitv.
0
Categories
- All Categories
- 6 AHS
- 38 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛