|
From: Andrew G. <al...@gm...> - 2021-03-26 22:39:53
|
Hi. When you connect and try to LOGIN to secondary(backup) IP address for CME fix dropcopy while the primary host is active, you are getting an LOGOUT: "8=FIX.4.2|35=5|49=CME|58=Backup session not allowed. Logout forced". You are supposed to failover to the other host then. We can handle the logout event in Application.fromAdmin, but i cant seem to find a way to failover to another SocketConnectHost manually - the Session does not expose IoSessionInitiator.getNextSocketAddress(where the address is updated). And even if it was exposed, after the LOGOUT happens the initiator is recreated, starting with the same first SocketConnectHost. Is there a way to trigger a failover manually in fromAdmin method in the Application? Thanks! |