Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Objective: Demonstrate the capability of switching between FIX and AMQP protocols.
...
- You will need the sample FIX blotter that comes with Quickfix/J (Banzai). Configure the blotter to establish sessions with Synapse.
- Configure the AMQP transport for WSO2 ESB.
Start the AMQP consumer, by switching to
samples/axis2Client
directory and running the consumer using the following command. Consumer will listen to the queueQpidStockQuoteService
, accept the orders and reply to the queuereplyQueue
.Code Block ant amqpconsumer \-Dpropfile=$ESB_HOME/repository/samples/resources/fix/direct.properties
- Start Banzai.
- Enable FIX transport in the Synapse
axis2.xml
. - Configure Synapse for FIX samples.
Open up the
ESB_HOME/repository/samples/synapse_sample_260.xml
file and make sure that thetransport.fix.AcceptorConfigURL
property points to thefix-synapse.cfg
file you created. Once done, you can start the Synapse configuration numbered 260:wso2esb-samples.sh -sn 260
Info title Note Synapse creates a new FIX session with Banzai at this point.
- Send an order request from Banzai to Synapse. For example, Buy DELL 1000 @ MKT.
...