[Quickfix-users] How to change the value of fields in Logon(A) message?
Brought to you by:
orenmnero
From: Bin F. <bfa...@gm...> - 2007-03-02 16:18:10
|
hi everyone, I got a very quick, maybe very silly question to ask you. How can I change the value of fields in Logon(A) message in quickfix, i.e. I want to set ResetSeqNumFlag[141] manually for logging in? I tried to put a sentence of ResetSeqNumFlag=Y in the cfg file, however it doesn't work. Moreover, I tried to put it in Application::onLogon(...) function, but it turned out that is not the correct place to put. For other messages, no matter if it is session level or application level, I could always use Session::SendtoTarget(...) after the connection estabished between the counterparties. However, I don't think I can use this function to send the initial Logon(A) message. am I right? Can anyone let me know how to do that? thank you very much. Bin |