KODIAK Oms Failover strategies

Description of strategies available

FailoverFirst:

Saving the EMS URL:

When an order is created, the EMS URL used is stored in the order's data (OrderInfo).
This information is saved in the orders table, ensuring the system knows which connection to use for any future modifications of the order.

Routing Updates:

During an order update, the system checks the connection stored in the order record.
If the current EMS connection differs from the stored one, the system attempts to route the update through the saved EMS URL.

Handling a Down Connection:

If the saved connection is unavailable (completely down), the system cannot update the order.
In such cases, the user is instructed to cancel the order and create a new one (on the currently active connection).

 

Description of how to configure the available strategies

FailoverFirst:

To implement the FailoverFirst strategy, make the following changes in the Spring configuration file:
Config\Spring\Kodi.Kodiak.OrderEntry.config

Update the InetExchange configuration:

From:

<object id="InetExchange" type="Kodi.Kodiak.OrderEntry.Ems.Exchange, Kodi.Kodiak.OrderEntry.Ems"> <property name="OrderEntry" ref="InetOrderEntry" /> </object>

To:

<object id="InetExchange" type="Kodi.Kodiak.OrderEntry.Ems.Exchange, Kodi.Kodiak.OrderEntry.Ems"> <property name="OrderEntry" ref="InetOrderEntryFailoverFirst" /> </object>
<object id="InetOrderEntryFailoverFirst" type="Kodi.Kodiak.OrderEntry.Ems.Inet.InetOrderEntryFailoverFirst, Kodi.Kodiak.OrderEntry.Ems.Inet"> <constructor-arg name="connectionManager" ref="InetConnectionManager" /> <property name="InstrumentSource" value="INET"/> <property name="RequestConverter" ref="InetConverter"/> </object>

 

and do the same for GeniumExchange:

From:

To:

 

Â