Show TOC

Sample Configuration File for File ConnectorsLocate this document in the navigation structure

Sample configuration file (adapter.xml) for the file connectors in the FIX Session adapter.

<?xml version="1.0" encoding="UTF-8" ?> 
- <!-- 
 SAP Event Stream Processor FIX adapter configuration file 
--> 
- <adapter> 
- <!-- 
 Adapter Controller 
--> 
- <controller> 
<controllerPort>13579</controllerPort> 
</controller> 
- <!-- 
 SAP Event Stream Processor settings 
--> 
- <esp> 
- <espConnection> 
<espProjectUri>esp[s]://localhost:19011/w1/p1</espProjectUri> 
</espConnection> 
- <espSecurity> 
<espUser>espuser</espUser> 
<espPassword encrypted="false">espuser</espPassword> 
<espAuthType>none</espAuthType> 
- <!-- 
        <espRSAKeyStore>/keystore/keystore.jks</espRSAKeyStore>
        <espRSAKeyStorePassword>Sample123</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> 
- <fileConnector> 
<fileName>quotes.fix</fileName> 
<doValidation>false</doValidation> 
- <streamNames> 
<streamName>MyQuotes</streamName> 
</streamNames> 
</fileConnector> 
</inbound> 
- <outbound> 
- <fileConnector> 
<fileName>orders.fix</fileName> 
- <streamNames> 
<streamName>MyOrders</streamName> 
</streamNames> 
</fileConnector> 
</outbound> 
</connectors> 
- <!-- 
 Sessions 
--> 
<sessions /> 
</adapter>