There are several ways one can configure the Coherent Datafeed: via preferences that are set in a file or via preferences that are set in the Windows Registry. This can be helpful, for instance, in situations where the user does not want to have the preferences located in the registry.

The Coherent Datafeed checks if the preferences are set in an external file prior to checking the registry — for example, if the user sets the CDATAFEED_CONFIGURATION_FILE value the application will load this file from the specified location.

The user can choose to pass this value in when the application is started, for example:

-DCDATAFEED_CONFIGURATION_FILE=C:/development…/rfa-preferences.xml

If neither of these properties have been set, the application will attempt to load the preferences from the Windows Registry.

Java Documentation | Bitbucket

Leave a Reply