Switching between FIX Versions

This sample demonstrates how you can use WSO2 Micro Integrator to accept FIX input via the FIX transport layer and dispatch to another FIX acceptor that accept messages in a different FIX version. Here you will see how the Micro Integrator receives FIX 4.0 messages and simply forwards it to the FIX 4.1 endpoint.

Synapse configuration

Following are the integration artifacts (proxy service) that we can used to implement this scenario.

 <proxy name="OrderProcesserProxy41" transports="fix">
    <target>
       <endpoint>
          <address uri="fix://localhost:19877?BeginString=FIX.4.1&SenderCompID=SYNAPSE&TargetCompID=EXEC"/>
       </endpoint>
       <inSequence>
            <log level="full"/>
       </inSequence>
       <outSequence>
            <log level="full"/>
            <send/>
       </outSequence>
    </target>
    <parameter name="transport.fix.AcceptorConfigURL">file:repository/samples/resources/fix/fix-synapse-m40.cfg</parameter>
    <parameter name="transport.fix.AcceptorMessageStore">file</parameter>
    <parameter name="transport.fix.InitiatorConfigURL">file:repository/samples/resources/fix/synapse-sender-m.cfg</parameter>
    <parameter name="transport.fix.InitiatorMessageStore">file</parameter>
 </proxy>
Top