Sample Configuration File for Client Socket Connectors

Sample configuration file (adapter.xml) for the client socket 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>
- <inbound>
- <clientSocketConnector>
  <dataHost>localhost</dataHost> 
  <dataPort>43210</dataPort> 
  <doValidation>true</doValidation> 
- <streamNames>
  <streamName>MyQuotes</streamName> 
  </streamNames>
  </clientSocketConnector>
  </inbound>
- <outbound>
- <clientSocketConnector>
  <dataHost>localhost</dataHost> 
  <dataPort>32109</dataPort> 
- <streamNames>
  <streamName>MyOrders</streamName> 
  </streamNames>
  </clientSocketConnector>
  </outbound>
  </connectors>
- <!--  Sessions 
  --> 
  <sessions /> 
  </adapter>