Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  1. Add new Session to FIXEdge.properties ( c:\B2BITS\FIXEdge\v.5.7.0.62818\FixEdge1\conf\FIXEdge.properties )

    Code Block
    languagetext
    titleFIXEdge.properties
    FixLayer.FixEngine.Sessions = TestEchoAcceptor
    
    FixLayer.FixEngine.Session.TestEchoAcceptor.Version = FIX44
    FixLayer.FixEngine.Session.TestEchoAcceptor.StorageType = persistentMM
    FixLayer.FixEngine.Session.TestEchoAcceptor.Role = Acceptor
    FixLayer.FixEngine.Session.TestEchoAcceptor.SenderCompID = FIXEDGE
    FixLayer.FixEngine.Session.TestEchoAcceptor.TargetCompID = FIXECHOCLIENT
    FixLayer.FixEngine.Session.TestEchoAcceptor.EncryptMethod = 0
    FixLayer.FixEngine.Session.TestEchoAcceptor.InSeqNum = 0
    FixLayer.FixEngine.Session.TestEchoAcceptor.OutSeqNum = 0
    FixLayer.FixEngine.Session.TestEchoAcceptor.Description = FIX session for echo testing
    FixLayer.FixEngine.Session.TestEchoAcceptor.StartTime = 08:00
    FixLayer.FixEngine.Session.TestEchoAcceptor.TerminateTime = 23:59
    FixLayer.FixEngine.Session.TestEchoAcceptor.RecreateOnLogout = true
    FixLayer.FixEngine.Session.TestEchoAcceptor.IntradayLogoutTolerance = true
    FixLayer.FixEngine.Session.TestEchoAcceptor.ForceSeqNumReset = false
    FixLayer.FixEngine.Session.TestEchoAcceptor.SocketPriority = EVEN
    FixLayer.FixEngine.Session.TestEchoAcceptor.HandleSeqNumAtLogon = false
  2. Configure BL rules ( c:\B2BITS\FIXEdge\v.5.7.0.62818\FixEdge1\conf\BL_Config.xml )

    Code Block
    languagexml
    titleBL_Config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <FIXEdge>
    	<BusinessLayer> 
    		<!-- Rule messages from Simple Client send back switching SenderCompID and TargetCompID --> 
    		<Rule>
    			<Source> 
    				<FixSession SenderCompID="FIXECHOCLIENT" TargetCompID="FIXEDGE"/>
    			</Source> 
    			<Action>
    				<Send>
    					<FixSession SenderCompID="FIXEDGE" TargetCompID="FIXECHOCLIENT"/>
    				</Send>
    			</Action>
    		</Rule>
    		<DefaultRule>
    			<Action>
    				<DoNothing/>
    			</Action>
    		</DefaultRule> 
    	</BusinessLayer> 
    </FIXEdge>


  3.  Run FixEdge (e.g using run script )

     c:\B2BITS\FIXEdge\v.5.7.0.62818\bin\FixEdge1.run.cmd


  4.  Open SimpleClient. (It can be found in Fix Antenna package). And create new session as Initiator:

    Session -> Create New ...
    SenderCompID = FIXECHOCLIENT
    TargetCompID = FIXEDGE
    FIX Version = 4.4
    Remote Port = 8901 (ListenPort parameter in FE engine.properties -> c:\B2BITS\FIXEdge\v.5.7.0.62818\FixEdge1\conf\engine.properties )


  5. Send message by from SimpleClient

    Code Block
    languagetext
    titleNew Order - Echo test.msg
    8=FIX.4.49=17535=D49=FIXECHOCLIENT56=FIXEDGE34=252=20131125-09:37:09.68011=Order#121=1100=155=TESTSMBL54=160=20131124-04:11:46.76838=2000040=244=34.710=203

     File contained SOH symbols: NewOrderEchoTestMessage.txt

     

  6. Echo Message message from FE FIXEdge is received:

Code Block
languagetext
titleReceive.msg
Incoming message: 8=FIX.4.49=14935=D49=FIXEDGE56=FIXECHOCLIENT34=352=20140228-14:43:19.01811=Order#121=1100=155=TESTSMBL54=160=20131124-04:11:46.76838=2000040=244=34.710=074

...