artio
artio copied to clipboard
SesssionProxy cannot hook the first Logon Response Message
I tried to implement the SessionProxy to capture FIX Session Message (how to implement replicate to standby node) . However, it found the first FIX Logon Reply Message cannot be reached in SessionProxy.
It makes the archive on Online and Standby node not completely in sync.
It looks like the Framer can send some Logon and Logout messages on its own without going through SessionProxy. Which makes sense since the Framer exists at Engine level and the SessionProxy exists at Library level. But I'm not sure how to address this. Maybe it is possible to make the Framer fully passive?
In my case, I use InitialAcceptedSessionOwner#SOLE_LIBRARY but it looks like in case of a library timeout in engine, the engine acquires the session and allows itself to send Heartbeat or Logout without going through the library.