OnixS C++ FIX Engine  3.24.0
API Documentation
Configuring the Engine

Inner Contents

 Complete Reference of Configuration Settings
 
 Specifying Multiple Listen Ports
 
 Example of Configuration File
 

Detailed Description

There are a number of parameters (settings) which control the behavior of the Engine.

The default settings of the Engine can be changed, using the OnixS::FIX::EngineSettings class, an external XML-based configuration file or the XML-based configuration string.

To specify configuration which Engine must read, use OnixS::FIX::Engine::init(const OnixS::FIX::EngineSettings& settings), OnixS::FIX::Engine::init(const std::string& configFile) or OnixS::FIX::Engine::initFromString(const std::string& configuration) methods of the OnixS::FIX::Engine class.

Example

using namespace OnixS::FIX;
EngineSettings engineSettings;
engineSettings.dictionaryFile("CmeFastFixDictionary.xml");
Engine::init(engineSettings);