Capital Markets Adapters 10.11 | Apama Capital Markets Adapters Documentation 10.11 | Apama Base FIX Adapter | FIX service monitors | Client session | Session configuration
 
Session configuration
Each service monitor is designed in a way that allows it to be configured differently for the session (that is, transport) it is going to interact with. To configure the FIX service monitors for a particular session, the following event must be sent to the correlator:
com.apama.fix.SessionConfiguration {
  string connection; // FIX transport name
  dictionary<string, string> configuration; //set of configuration parameters
}
Each monitor defines it own configuration parameters and sending in this event can be thought of as simultaneously creating a new instance of each service monitor and tailoring its behavior to a particular session. This concept is illustrated below:
FIX adapter as a client
Note, it is not possible to use the FIX service monitors without having first configured them for at least one session.