|
From: Jan P. <jan...@gr...> - 2008-12-24 17:31:33
|
Hello, I was wondering If anyone could shed some light on how I could resolve the following issue. To begin with i have the following in my config file ResetOnLogon=N (i need to log on and off several times during the session, so don't want to reset the SeqNo during the day) ResetOnDisconnect=N (dont want this) ResetOnLogout=Y (need this, but it does not always work) I am using quickfix/j engine as an initiator and need to start and stop the initiator agent several times during the day, some times i need to stop before the session (as specified in the configuration file) is over and not start until the next day, sometimes after it is over (in this case qf/j logs me out automatically). the issue I'm having is when I need to start the session the following day - if I was logged out before the session was over the engine does not know to reset the seqNo. the question i have is : How can I tell quickfix/j *dynamically* weather to log on with ResetSeqNo set to Yes or set to No. I need to be able to do this change when the session is active as well as before logon and after logout. Any thought would be greatly appreciated as I am not a fix expert and already spent more time on this then I would have liked :) Thank you Jan |