Sample configuration file (adapter.xml) for the all-in-one connectors in the FIX adapter.
<?xml version="1.0" encoding="UTF-8" ?> - <!-- Sybase ESP FIX adapter configuration file --> - <adapter> - <!-- Adapter Controller --> - <controller> <controllerPort>13579</controllerPort> </controller> - <!-- Event Stream Processor settings --> - <esp> - <espConnection> <espProjectUri>esp://localhost:19011/w1/p1</espProjectUri> </espConnection> - <espSecurity> <espUser>espuser</espUser> <espPassword encrypted="false">espuser</espPassword> <espAuthType>none</espAuthType> - <!-- <espRSAKeyStore>/keystore/keystore.jks</espRSAKeyStore> <espRSAKeyStorePassword>Sybase123</espRSAKeyStorePassword> --> <espEncryptionAlgorithm>RSA</espEncryptionAlgorithm> </espSecurity> </esp> - <!-- FIX dictionary --> <fixDictionary>FIX44.xml</fixDictionary> - <!-- Stream cluster to FIX message mapping --> - <streams> - <stream> <name>MyQuotes</name> <messageName>Quote</messageName> </stream> - <stream> <name>MyOrders</name> <messageName>NewOrderSingle</messageName> </stream> </streams> - <!-- Connectors --> - <connectors> - <outbound> - <fileConnector> <fileName>orders.fix</fileName> - <streamNames> <streamName>MyOrders</streamName> </streamNames> </fileConnector> </outbound> </connectors> - <!-- FIX Session Settings --> - <sessionSettings> - <default> <ConnectionType>acceptor</ConnectionType> <SocketAcceptPort>23456</SocketAcceptPort> <FileLogPath>logs</FileLogPath> <FileStorePath>store</FileStorePath> <DataDictionary>FIX44.xml</DataDictionary> <HeartBtInt>600</HeartBtInt> <BeginString>FIX.4.4</BeginString> <StartTime>00:00:00</StartTime> <EndTime>23:59:59</EndTime> <SenderCompID>SYBASE</SenderCompID> </default> - <sessionSetting> <TargetCompID>COUNTERPARTYA</TargetCompID> </sessionSetting> - <sessionSetting> <TargetCompID>COUNTERPARTYB</TargetCompID> </sessionSetting> </sessionSettings> - <!-- Session logins --> - <sessionLogins> - <senderLogin> <username>MyUsername</username> <password>MyPassword</password> <NextExpectedMsgSeqNum>1</NextExpectedMsgSeqNum> </senderLogin> - <targetLogin> <TargetCompID>COUNTERPARTYA</TargetCompID> <username>UsernameA</username> <password>PasswordA</password> </targetLogin> - <targetLogin> <TargetCompID>COUNTERPARTYB</TargetCompID> <username>UsernameB</username> <password>PasswordB</password> </targetLogin> </sessionLogins> - <!-- Sessions --> - <sessions> - <inbound> - <session> <TargetCompID>COUNTERPARTYA</TargetCompID> - <streamNames> <streamName>MyQuotes</streamName> </streamNames> </session> </inbound> - <outbound> - <session> <TargetCompID>COUNTERPARTYA</TargetCompID> - <streamNames> <streamName>MyOrders</streamName> </streamNames> </session> - <session> <TargetCompID>COUNTERPARTYB</TargetCompID> - <streamNames> <streamName>MyQuotes</streamName> </streamNames> </session> </outbound> </sessions> </adapter>