fixio
fixio copied to clipboard
Support persistent storage for inbound and outbound message sequence numbers
It should be possible to persist inbound and outbound message sequence numbers for restoring session after disconnect. Add settings similar to QuickFix ResetOnLogon
, ResetOnLogout
, ResetOnDisconnect
, RefreshOnLogon
(see http://www.quickfixengine.org/quickfix/doc/html/configuration.html#Session).
Use persisted settings if FixSessionSettingsProvider.resetMsgSeqNum() == false.
About that, I'm planning to convert SessionRepository
to a sort of an interface so that I can provide my own SessionRepository
, the idea is to get the sessions from a distributed map say, using Riak or Redis or Hazelcast or any KV distributed solution (GRID like)
SessionRepository
interface was introduced