Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • You will need the two sample FIX applications that come with Quickfix/J (Banzai and Executor). Configure the two applications to establish sessions with the ESB. 
  • Start Banzai and Executor.
  • Enable FIX transport in the Synapse axis2.xml
  • Configure Synapse for FIX samples. 
  • Open up the <ESB_HOMEHOME>/repository/samples/synapse_sample_257.xml file and make sure that transport.fix.AcceptorConfigURL property points to the fix-synapse.cfg file you created. Also make sure that transport.fix. InitiatorConfigURL property points to the synapse-sender.cfg file you created. Once done, you can start the Synapse configuration numbered 257: wso2esb-samples.sh -sn 257

    Info
    titleNote

    The ESB creates a new FIX session with Banzai at this point.

  • Send an order request from Banzai to the ESB.

...

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<ESB_HOMEHOME>/repository/conf/samplesamples/resources/fix folder to $QFJ_HOME/etc folder. Execute the sample apps from $QFJ<QFJ_HOMEHOME>/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<ESB_HOMEHOME>/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.

...