Versions Compared

Key

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

...

  1. Open a command prompt (or a shell in Linux) and go to the <ESB_HOME>/samples/axis2Server directory.
  2. Execute one of the following commands 
    • On Windows: axis2server.bat
    • On Linux/Solaris:   ./axis2server.sh

This starts the Axis2 server with the HTTP transport listener on port 9000 and HTTPS on port 9002 respectively.

...

  1. Rename the axis2.xml file in the <ESB_HOME>/repository/conf/axis2 directory to default_axis2.xml.
  2. Rename the axis2_nhttp.xml file in the <ESB_HOME>/repository/conf/axis2 directory to axis2.xml.
  3. Restart the ESB server.

...

Anchor
FIX
FIX

Configuring WSO2 ESB to use the FIX transport

...

  1. Either modify the quickfixj-examples.jar  file or pass the new configuration file as a command line parameter.

    To modify the quickfixj-examples.jar file:

    • Extract the JAR file, modify the configuration files and pack them to a JAR file with the same name again.

    To pass the new configuration file as a command line parameter:

    • Copy the config files from the   <ESB_HOME>/repository/samples/resources/fix directory to the <QFJ_HOME>/etc directory. Then execute the sample apps from <QFJ_HOME>/bin, ./banzai.sh/bat ../etc/banzai.cfg executor.sh/bat ../etc/executor.cfg.
  2. Locate and edit the FIX configuration file of Executor to be as follows. This file is usually namednamed executor.cfg

    Code Block
    [default]
    FileStorePath=examples/target/data/executor
    ConnectionType=acceptor
    StartTime=00:00:00
    EndTime=00:00:00
    HeartBtInt=30
    ValidOrderTypes=1,2,F
    SenderCompID=EXEC
    TargetCompID=SYNAPSE
    UseDataDictionary=Y
    DefaultMarketPrice=12.30
    
    [session]
    BeginString=FIX.4.0
    SocketAcceptPort=19876
  3. Locate and edit the FIX configuration file of Banzai to be as follows. This file is usually named banzai.cfg

    Code Block
    [default]
    FileStorePath=examples/target/data/banzai
    ConnectionType=initiator
    SenderCompID=BANZAI
    TargetCompID=SYNAPSE
    SocketConnectHost=localhost
    StartTime=00:00:00
    EndTime=00:00:00
    HeartBtInt=30
    ReconnectInterval=5
    
    [session]
    BeginString=FIX.4.0
    SocketConnectPort=9876

...