To start the FIX adapter from the command line, start Event Stream Processor, verify parameters, and execute the start command.
- Start Event Stream Processor.
Windows:
- Start the example cluster.
cd %ESP_HOME%\cluster\nodes\node1
%ESP_HOME%\bin\esp_server --cluster-node node1.xml
- Compile CCL to create
CCX.
%ESP_HOME%\bin\esp_compiler -i model.ccl -o model.ccx
- Deploy the project on the
cluster.
%ESP_HOME%\bin\esp_cluster_admin" --uri=esp://localhost:19011 --username=sybase --password=sybase --add_project --workspace-name=w1 --project-name=p1 --ccx=model.ccx
- Start the deployed project on the
cluster.
%ESP_HOME%\bin\esp_cluster_admin" --uri=esp://localhost:19011 --username=sybase --password=sybase --start_project --workspace-name=w1 --project-name=p1
UNIX:
- Start the example cluster.
cd $ESP_HOME/cluster/nodes/node1
$ESP_HOME/bin/esp_server --cluster-node node1.xml
- Compile CCL to create
CCX.
$ESP_HOME/bin/esp_compiler -i model.ccl -o model.ccx
- Deploy the project on the
cluster.
$ESP_HOME/bin/esp_cluster_admin" --uri=esp://localhost:19011 --username=sybase --password=sybase --add_project --workspace-name=w1 --project-name=p1 --ccx=model.ccx
- Start the deployed project on the
cluster.
$ESP_HOME/bin/esp_cluster_admin" --uri=esp://localhost:19011 --username=sybase --password=sybase --start_project --workspace-name=w1 --project-name=p1
- Start the adapter.
Operating System |
Step |
UNIX |
Open a terminal window and enter: cd $ESP_HOME/adapters/fix/bin
./adapter.sh <configuration file path> start
|
Windows |
Open a command window and enter: cd %ESP_HOME%/adapters/fix/bin
adapter.bat <configuration file path> start
|
You can use the esp_subscribe utility to ensure that FIX
messages are successfully published to Event Stream Processor.