Table of Contents |
---|
Description
Solution is designed for automatic session handling (stop/start) based on events from other sessions.
Design overview
Bellow schema describes FIX messages flow between Handler_Session and Driven_Session, and also events, which occur on each stage.
Package deployment
Package is distributed in the form of zip archive for FIXICC-H2 import.
...
- download package from EPAM's client space https://clientspace.b2bits.com/product-62 (contact sales@btobits.com for the access)
- archive content into FIXICC-H2_export.zip
- open FIXICC-H2 UI and navigate to "Import Server Configuration"
- select FIXICC-H2_export.zip from your laptop
- complete import
- enable Start_Handler_Session.js script
Detailed logic description
Main flow
Successful connection without any issues.
...
In case end user connects to Handler_Session, then Driven_Session initiates connection to the venue. All business messages from Driven_Session, will be routed into the Handler_Session.
Multimedia | ||
---|---|---|
|
Exceptional flows
Logout comes from Handler_Session
In case end user disconnected from Handler_Session for any reason, the Driven_Session will be disconnected automatically.
Case is also valid for unexpected break of the Handler_Session.
Multimedia | ||
---|---|---|
|
Logout comes from Driven_Session
In case Driven_Session became disconnected, FIXEdge will try to reconnect Driven_Session and in case failure end user will be disconnected from Handler_Session automatically.
Multimedia | ||
---|---|---|
|
Endpoint for Driven_session unavailable
In case end user connects to Handler_Session, the Driven_Session initiates connection to the venue, but was not able to establish connection, Handler_Session will be disconnected automatically.
Case is also valid for unexpected break of the Driven_Session.
Multimedia | ||
---|---|---|
|
Schedules
It is possible to configure Handler_Session to listen by schedule and be restarted after disconnect only in the configured interval.
...
Note |
---|
Kindly note, that it is required to adjust schedule for Handler_Session not just in session setting, but also in Start_Handler_Session.js |
Example of configuration
Parameters used for sessions:
...