Can EMAConfig.xml be given as a parameter to
EmaFactory.createOmmConsumerConfig() to load from a specific location instead of looking for the default location of the binary?
New posts are disabled while we improve the user experience.
You can browse the site, or for urgent issues, raise a query at MyAccount.
Can EMAConfig.xml be given as a parameter to
EmaFactory.createOmmConsumerConfig() to load from a specific location instead of looking for the default location of the binary?
The directly answer to your question is NO but there are other ways to load a configuration file from a user specified location and has been discussed before. Please take a look a the thread: https://community.developers.refinitiv.com/questions/8774/view.html
The next ESDK release - ESDK release 1.1.1 - will include a feature that allows application developers to supply an optional path to a configuration file. The path may be a directory, in which case the library will load a file named EmaConfig.xml from that directory, or a filename.
In Java, one will supply this path as an argument to createOmmConsumerConfig; see the example111__MarketPrice__UserSpecifiedFileConfig example for more details. This example is new for this release.
In C++, one will supply this path as an argument to the OmmConsumerConfig constructor; see the 111__MarketPrice__UserSpecifiedFileConfig example for more details. This example is new for this release.