...
Code Block | ||||
---|---|---|---|---|
| ||||
<definitions xmlns="http://ws.apache.org/ns/synapse"> <localEntry key="xslt-key-req" src="file:repository/confsamples/sample/resources/transform/transform_fix_to_http.xslt" /> <proxy name="FIXProxy" transports="fix"> <target> <endpoint> <address uri="http://localhost:9000/services/SimpleStockQuoteService" /> </endpoint> <inSequence> <log level="full" /> <xslt key="xslt-key-req" /> <log level="full" /> </inSequence> <outSequence> <log level="full" /> </outSequence> </target> <parameter name="transport.fix.AcceptorConfigURL"> file:repository/conf/samplesamples/resources/fix/fix-synapse.cfg </parameter> <parameter name="transport.fix.AcceptorMessageStore">file</parameter> </proxy> </definitions> |
...
You can pass the new configuration file as a command line parameter too, in that case you do not need to modify the quickfixj-examples.jar
. You can copy the config files from $ESB_HOME/repository/confsamples/sample/resources/fix
folder to $QFJ_HOME/etc folder
. Execute the sample applications from $QFJ_HOME/bin," "./banzai.sh/bat ../etc/banzai.cfg executor.sh/bat ../etc/executor.shcfg
.
Locate and edit the FIX configuration file of Executor to be as follows. This file is usually named executor.cfg
.
...
In order to configure WSO2 ESB to run the FIX samples given in this guide, you will need to create some FIX configuration files as specified below (You can find the config files from $ESB_HOME/repository/conf/samplesamples/resources/fix folder
).
The FileStorePath
property in the following two files should point to two directories in your local file system. Once the samples are executed, Synapse will create FIX message stores in these two directories.
...