How to configure properties with environment variables
FIX Antenna C/C++/.NET
To configure FIXAntenna properties with an environment variables you need the following:
Define environment variable in the system:
Linux export PATH_TO_LICENSE=/etc/all_licenses/engine.license
Windows set PATH_TO_LICENSE=C:/all_licenses/engine.license
Apply environment variable. FIXAntenna can utilize environment variables in the engine.properties file, using the syntax:
${EnvVarName} - this construction will be substituted with an actual value of EnvVarName
Example:Â
# The license file path.
LicenseFile=Â ${PATH_TO_LICENSE}
It is not recommended to use environment variables for the following properties:
EngineRoot, ListenPort, Monitoring.ListenPort, LogDirectory, Monitoring.AdminSessionNames, Monitoring.AdminSession.*, AnchorFile.