Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

...

  1. download package from EPAM's client space https://clientspace.b2bits.com/product-62 (contact sales@btobits.com for the access)
  2. archive content into FIXICC-H2_export.zip
  3. open FIXICC-H2 UI and navigate to "Import Server Configuration"
  4. select FIXICC-H2_export.zip from your laptop
  5. complete import
  6. 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
nameconnect.mp4

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
nameuser_disconnected.mp4

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
namevenue_disconnected.mp4

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
namevenue_incassable.mp4

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:

...