/
Tip Market Data Configuration

Tip Market Data Configuration

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="spring">
<section name="context" type="Spring.Context.Support.ContextHandler, Spring.Core" />
<section name="objects" type="Spring.Context.Support.DefaultSectionHandler, Spring.Core" />
<section name="parsers" type="Spring.Context.Support.NamespaceParsersSectionHandler, Spring.Core" />
</sectionGroup>
<sectionGroup name="common">
<section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" />
</sectionGroup>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<appSettings>
<add key="GeniusUsername" value="Kodi" />
<add key="GeniusPassword" value="password" />
<add key="UseWCFBondsCalc" value="true" />
</appSettings>
<spring>
<context>
<!--Points to the objects parth of the spring config (see below)-->
<resource uri="config://spring/objects" />
<resource uri="~/ServiceConfigs/ServicesToRun.config" />
</context>
<objects xmlns="http://www.springframework.net" xmlns:nms="http://www.springframework.net/nms">
<object id="autoProxyCreator" type="Spring.Aop.Framework.AutoProxy.DefaultAdvisorAutoProxyCreator, Spring.Aop"></object>
<object id="TipGateway" type="Kodi.Kodiak.Inet.Tip.TipGateway, Kodi.Kodiak.Inet.Tip.Gateway">
<property name="GatewayName" value="INET" />
<property name="PerformanceCounterName" value="TIP" />
<property name="BasicDataScope" value="3" />
<property name="Connections">
<list>
<ref object="TipConnection1" />
</list>
</property>
</object>
<object id="TipConnection1" type="Kodi.Kodiak.Inet.Tip.TipConnection, Kodi.Kodiak.Inet.Tip.Gateway">
<property name="IPAddress" value="192.176.3.133" />
<property name="Port" value="29300" />
<property name="FailoverIP" value="192.176.3.133" />
<property name="FailoverPort" value="29300" />
<property name="Username" value="username" />
<property name="Password" value="password" />
</object>
<!-- public MessagePublisher(string brokerUri, string topic, string clientId) -->
<object id="MessagePublisher" type="Kodi.Messaging.Nms.MessagePublisher, Kodi.Messaging.Nms">
<constructor-arg name="brokerUri" value="tcp://localhost:61616?soTimeout=60000" />
<constructor-arg name="topic" value="MARKET.DATA" />
<constructor-arg name="clientId" value="TipMarketData" />
</object>
<object id="TipMarketDataHandler" type="Kodi.Kodiak.Inet.Tip.TipMarketDataHandler, Kodi.Kodiak.Inet.Tip.Gateway">
<constructor-arg name="hostname" value="tcp://localhost:61616?soTimeout=60000" />
<constructor-arg name="topic" value="MARKET.DATA" />
<constructor-arg name="gateway" ref="TipGateway" />
<property name="BasicDataLookup" ref="BasicDataLookup" />
<property name="MessagePublisher" ref="MessagePublisher" />
</object>
<object id="BasicDataLookup" singleton="true" type="Kodi.Kodiak.MarketData.BasicDataLookup, Kodi.Kodiak.MarketData" scope="session">
</object>
<object id="GatewayScheduler" type="Kodi.Kodiak.Inet.Tip.Gateway.TipGatewayScheduler, Kodi.Kodiak.Inet.Tip.Gateway">
<constructor-arg name="start" value="06:00:00" />
<constructor-arg name="shutdown" value="23:00:00" />
<constructor-arg name="handler" ref="TipMarketDataHandler" />
</object>
</objects>
</spring>
<common>
<logging>
<factoryAdapter type="Common.Logging.Log4Net.Log4NetLoggerFactoryAdapter, Common.Logging.Log4Net">
<!-- choices are INLINE, FILE, FILE-WATCH, EXTERNAL-->
<!-- otherwise BasicConfigurer.Configure is used -->
<!-- log4net configuration file is specified with key configFile-->
<arg key="configType" value="INLINE" />
</factoryAdapter>
</logging>
</common>
<log4net configSource="log4net.config"></log4net>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="SoapBinding" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="2147483646" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None" realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
<binding name="BasicHttpBinding_IBondService" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="2147483646" maxBufferPoolSize="2147483646" maxReceivedMessageSize="2147483646" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None" realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
</basicHttpBinding>
<wsHttpBinding>
<binding name="WSHttpBinding" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483646" maxReceivedMessageSize="2147483646" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
<readerQuotas maxDepth="2147483646" maxStringContentLength="2147483646" maxArrayLength="2147483646" maxBytesPerRead="2147483646" maxNameTableCharCount="2147483646" />
<reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" />
<security>
<transport></transport>
</security>
</binding>
</wsHttpBinding>
</bindings>
<behaviors>
<endpointBehaviors>
<behavior>
<dataContractSerializer maxItemsInObjectGraph="2147483646" />
</behavior>
</endpointBehaviors>
<serviceBehaviors>
<!--The behavior for the Kodiak API services-->
<behavior name="ServiceBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
</serviceBehaviors>
</behaviors>
<services> 
<service behaviorConfiguration="ServiceBehavior" name="SubscriptionService">
<endpoint address="" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding" contract="Kodi.Kodiak.MarketData.Contracts.ISubscriptionService" />
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
<service behaviorConfiguration="ServiceBehavior" name="BasicDataService">
<endpoint address="" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding" contract="Kodi.Kodiak.MarketData.Contracts.IBasicDataService" />
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
</services>
<client>
<endpoint address="http://genius3p.mentis.is/geniusserver2/webservices/metadata.asmx" binding="basicHttpBinding" bindingConfiguration="SoapBinding" contract="MetaDataServices.MetaDataSoap" name="MetaDataSoap" />
<endpoint address="http://genius3p.mentis.is/geniusserver2/WebServices/Genius.asmx" binding="basicHttpBinding" bindingConfiguration="SoapBinding" contract="KodiServices.KodiSoap" name="KodiSoap" />
<endpoint address="http://genius.livemarketdata.com/BondsCache/BondService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IBondService" contract="BondServices.IBondService" name="BasicHttpBinding_IBondService" />
</client>
</system.serviceModel>

<!--SET THE PROXY SERVER IF YOU CAN'T ACCESS GENIUS SERVICES FROM YOUR NETWORK-->
<!--
<system.net>
<defaultProxy>
<proxy proxyaddress="proxy server" bypassonlocal="true" />
</defaultProxy>
</system.net>
-->
<!--Uncomment the following and set the correct version number if you receive ORA errors after installing-->
<!--<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<qualifyAssembly partialName="Oracle.DataAccess" fullName="Oracle.DataAccess,version=2.112.1.1,publicKeyToken=89b483f429c47342,culture=neutral"/>
</assemblyBinding>
</runtime>-->
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Common.Logging" publicKeyToken="af08829b84f0328e" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.1.1.0" newVersion="2.1.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

Related content

Kodi.Kodiak.WindowsServices.OrderEntryServer.exe.config
Kodi.Kodiak.WindowsServices.OrderEntryServer.exe.config
More like this
KodiakService.svc
KodiakService.svc
More like this
AllocationService.svc
AllocationService.svc
More like this
OffExchangeService.svc
OffExchangeService.svc
More like this
CustomerService.svc
CustomerService.svc
More like this
Adapters
Adapters
More like this