Capital Markets Adapters 10.11 | Apama Capital Markets Adapters Documentation 10.11 | FXall TCPI Server Adapter | Service monitor and session configuration
 
Service monitor and session configuration
 
Setting up contexts
Work flow for context creation at startup
Work flow of content mapping dynamically
The FXall_TCPI Adapter must be configured by routing the following event after all of the monitors are injected:
event com.apama.fxall.tcpi.SessionConfiguration
{
string transportName;
dictionary<string,string> configuration;
}
The "transportName" field gives the name of the FXALL_TCPI "session" this must match the transport name in the IAF configuration file.
The "configuration" dictionary specifies configuration settings for the session. Currently the following keywords are supported:
Parameter
Type
Description
channel
string
Default: Transport Name
Channel on which the IAF is name configured to listen.
supportMultiContext
boolean
Default: true
The Adapter Supporting the multicontext applies only to QuoteRequests.
OrdersUseMultiContext
boolean
Default: false
To support orders in multicontext, it only works if support supportMultiContext is also set to true.
heartbeatInterval
float
Default: 5.0
Rate at which the heartbeats have to be sent to the transport.
reconnectInterval
integer
Default: 60
Time before which the adapter should try to reconnect to the FXall System if the connection fails.
connectAtStartup
boolean
Default: true
If set to false, Adapter expect an external doConnect event from user.
InfoRequestLiveTime
float
Default: 120
Time within which a Info Request is expecting response from the Application.
Example: com.apama.fxall.tcpi.SessionConfiguration("FXALL_TCPI_TRANSPORT", {"OrdersUseMultiContext":"true"})