Configuration Details

Java Documentation | Bitbucket

Help us help you: Take a short survey!

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 registy — for example, if the user sets the CDATAFEED_CONFIGURATION_FILE value as it appears below, the application will load this file from the specified location.

Environment Variable Configuration
Environment Variable Configuration

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.