Apama Capital Markets Foundation 10.15 | Capital Markets Foundation | Market Data Management | Using MDA with legacy market data components | Session configuration
 
Session configuration
Once the Market Data Bridge has been created, it will register itself with the Session Manager Service, and will use the following information:
*SessionName - an amalgamation of the ServiceId and MarketId that was provided at creation time separated by a colon (for example, ServiceId:MarketId).
*TransportName - all sessions that use the Market Data Bridge will have the transport name of MDBridge.
*Session Configuration - an application can use the following session configuration parameters to alter the behavior of the session:
*CONNECTION_TIMEOUT - amount of time (in seconds) the Market Data Bridge will wait for a response from the underlying adapter before it times out and generates an error. By default, this time out period is 20 seconds. If the Market Data Bridge was created with DISABLE_STATUS_SUPPORT set to true, then this option is ignored.
*QUOTEIDKEY - a key name to look for in the underlying adapters com.apama.marketdata.Depth event to use as the QuoteID field in order to correctly publish a Quotebook DataStream. By default, the Market Data Bridge will look for the QuoteID as the key. This parameter is ignored if the Market Data Bridge was created without defining a Quotebook DataStream in the list of available StreamTypes.
*QUOTETTL - defines the duration before the quote is removed from the book after publication. By default, this parameter is set to 5 seconds. This parameter is ignored if the Market Data Bridge was created without defining a Quotebook DataStream in the list of available stream types.