Quickfix setting ResetSeqNumFlag
Pergunta
Is there a way to set ResetSeqNumFlag=Y
using the Quickfix config?
Solução
Look at the "Miscellaneous" section of the manual:
http://www.quickfixj.org/quickfixj/usermanual/1.5.1/usage/configuration.html
There are several reset options (Logon/Logout/Disconnect/Error etc.)
Outras dicas
As I know there is no way to do it.
I had a situation when after logon I got logout message with the text
MsgSeqNum too low, expecting 194 but received 16 Logon
I have looked through the manual and played with reset options in config:
ResetOnLogout=Y
ResetOnLogon=Y
ResetOnDisconnect=Y
ResetOnError=Y
None of them adds ResetSeqNumFlag=Y
to logon message. So I had to do it manually at #toAdmin
method.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow