...
- Open a command prompt (or a shell in Linux) and go to the
<ESB_HOME>/samples/axis2Server
directory. - Execute one of the following commands
- On Windows:
axis2server.bat
- On Linux/Solaris:
./axis2server.sh
- On Windows:
This starts the Axis2 server with the HTTP transport listener on port 9000 and HTTPS on port 9002 respectively.
...
- Rename the
axis2.xml
file in the<ESB_HOME>/repository/conf/axis2
directory todefault_axis2.xml
. - Rename the
axis2_nhttp.xml
file in the<ESB_HOME>/repository/conf/axis2
directory toaxis2.xml
. - Restart the ESB server.
...
Anchor | ||||
---|---|---|---|---|
|
Configuring WSO2 ESB to use the FIX transport
...
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<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
.
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
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
...