Capital Markets Adapters 10.7 | Apama Capital Markets Adapters Documentation 10.7 | Apama Base FIX Adapter | FIX service monitors | Client session | FIX_StatusManager
 
FIX_StatusManager
The FIX_StatusManager provides session status notifications to other applications via the com.apama.statusreport interface.
For each session the following are monitored:
*Connection Status - Notifies applications of a loss of connection to the IAF as detected by the FIX_SessionManager.
*Session Status - Notifies applications when the transport is logged in or out of the target server.
*Trading Session Status - Some exchanges support the notion of trading session status and report this through the corresponding FIX message. The session manager will notify applications of a change in status.
*Market Data - Warns applications that no market data has been received for a specified length of time.
Any application wishing to receive the reports must route a com.apama.statusreport.SubscribeStatus event specifying the following parameters (blank strings are taken as wildcards):
Input
Description
ServiceId
"FIX"
Object
"Adapter"
Sub_serviceId
The connection (transport) prefix
connection
The connection (transport) name
The sub-service id can be used to subscribe to groups of related connections. For example, if you had the following transports:
EXCHANGE1_MARKET_DATA
EXCHANGE1_TRADING
EXCHANGE2_MARKET_DATA
EXCHANGE2_TRADING
Subscribe to all status relating to exchange 1 by routing the following subscribe event:
SubscribeStaus("FIX", "Adapter", "EXCHANGE1", "")
Subscribe to status for all the connections by routing the following:
SubscribeStaus("FIX", "Adapter", "", "")
Note, the sub-service separator token defaults to “_” but can be overridden at session configuration time (see below).
To stop receiving status events a corresponding com.apama.statusreport.UnsubscribeStatus event must be routed.
Configuration parameters
Name
Type
Description
Default
StatusManager.
MarketDataTimeout
Float
The period of time in seconds that no market data must have be received before a warning is sent. A value of 0.0 switches the warnings off.
0.0
SubscriptionManager.
RequireSession
StatusOpen
Boolean
Whether the session requires a FIX session status message to have been received before being available.
false
NMDA_FIX_SESSION_NAME
String
Provide the SessionName for the MDA session. This parameter is used to provide the MDA session name value to the FIX adapter to support session management using the CMF Session Manager library.
""