FIX Engine
To control FIX connections with the FIXICC H2, install and configure the FIX engine application.
The current version of FIXICC H2 communicates with FIXEdge Cpp as well as FIXEdge Java servers.
For detailed instructions on the installation and configuration of FIXEdge Cpp, please follow this link.
You should also set the following additional configurations for FIXEdge Cpp:
Name | Example value | Default value | Description |
---|---|---|---|
Components.Component.ServiceDiscovery | ConsulAPI | required value: ConsulAPI | Binds service with component service discovery. Component for using the Service Discovery functionality: the automatic detection of devices and services offered by these devices on a computer network. Service discovery aims to reduce the configuration efforts of users |
Components.Service.ConsulAPI | Consul | required value: Consul | Configures the ConsulAPI service as a Consul type |
Components.Service.ConsulAPI.Checks | empty | Properties for specific service types. Value Checks means the list of health checks to control in SD | |
Components.Service.ConsulAPI.SSL | true | false | Configures the connection from FIXEdge Cpp to Consul through the SSL |
Components.Service.ConsulAPI.SSL.CertificateAuthority | ../FIXEdge1/conf/consul.crt | required value: if the SSL is true must be specified with the path of the security certificate file | Configures the path of the security certificate file. Mandatory if SSL is true |
Components.Service.ConsulAPI.ReconnectInterval | 1000 | 1000 | Sets delay in milliseconds of reconnecting to the ConsulAPI as 1000 |
Components.Service.ConsulAPI.NumberOfAttemptsReconnect | 30 | 30 | Number of the attempts to reconnect to Consul |
Components.Component.Configuration | FIXICCH2 | required value: FIXICCH2 | Sets FIXICCH2 service as a source of configuration |
Components.Service.FIXICCH2 | configuration-service | required value: configuration-service | Configures FIXICCH2 service as a configuration-service type |
Components.Service.FIXICCH2.ReconnectInterval | 1000 | 1000 | Sets delay in milliseconds of reconnecting to the FIXICCH2 server as 1000 |
Components.Service.FIXICCH2.Host | 10.68.21.170 | By default, get host and port from service discovery by name service If service discovery is not used then default value:Host = localhost Port = 8787 | Host for accessing the configuration service HTTP API |
Components.Service.FIXICCH2.Port | 8080 | Port for accessing the configuration service HTTP API | |
Components.Service.FIXICCH2.NumberOfAttemptsReconnect | 30 | 30 | Number of the attempts to reconnect to FIXICC H2 |
Components.Service.FIXICCH2.ConfigurationServiceName | FIXICC-H2 | FIXICC-H2 | Name of service to find in the service discovery |
Components.Service.FIXICCH2.SSL | true | false | Configures the connection from FIXEdge Cpp to FIXICC H2 through the SSL |
Components.Service.FIXICCH2.SSL.CertificateAuthority | ../FIXEdge1/conf/fixicch2.crt | empty | Contains the path to the file or directory containing the CA/root certificates |
Components.Service.FIXICCH2.SSL.PrivateKey | ../FIXEdge1/conf/fixicch2.key | empty | Contains the path to the private key file used for encryption. Can be empty if no private key file is used |
Components.Service.FIXICCH2.SSL.Certificate | ../FIXEdge1/conf/fixicch2.pem | empty | Contains the path to the certificate file (in PEM format). If the private key and the certificate are stored in the same file, this can be empty if PrivateKey is given |
FIXEdge.ServiceName | CppServerA | - | Mandatory parameter. The server name is used for counterparty communications. For FIXEdge C++ and FIXICC H2 communication the value of the FIXEdge.ServiceName must mutch the value of the Server Name FIXICC H2 parameter |
To configure the admin API for FIXEdge Cpp, please follow the instructions in this article: FIXEdge Admin REST API
After the FIXEdge Cpp configuration is completed and FIXEdge Cpp is started, the Consul application will add "REST-AdminAPI" and "FIX" services for the "CppServerA" server to the service list.
You can see the example in the figure below:
Figure. The list of the configured services.
To run Consul UI, open a browser page with the address: localhost:8500
.
The FIXICC H2 can have access to the configured services.