Sample Configuration File for File Connectors

Sample configuration file (adapter.xml) for the file 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>sybase</espUser> 
<espPassword encrypted="false">sybase</espPassword> 
<espAuthType>user_password</espAuthType> 
- <!-- 
	
	<espRSAKeyStore>/keystore/keystore.jks</espRSAKeyStore>
	<espRSAKeyStorePassword>Sybase123</espRSAKeyStorePassword>
--> 
- <!-- 
	<espKerberosKDC>KDC</espKerberosKDC>
	<espKerberosRealm>REALM</espKerberosRealm>
	<espKerberosService>service/instance</espKerberosService>
	<espKerberosTicketCache>/tmp/krb5cc_user</espKerberosTicketCache>
--> 
<espEncryptionAlgorithm>RSA</espEncryptionAlgorithm> 
</espSecurity> 
<maxPubPoolSize>1</maxPubPoolSize> 
</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> 
<inputBuffer>1024</inputBuffer> 
- <streamNames> 
<streamName>MyQuotes</streamName> 
</streamNames> 
</fileConnector> 
</inbound> 
- <outbound> 
- <fileConnector> 
<fileName>orders.fix</fileName> 
- <streamNames> 
<streamName>MyOrders</streamName> 
</streamNames> 
</fileConnector> 
</outbound> 
</connectors> 
- <!-- 
 Sessions 
--> 
<sessions /> 
</adapter>