Re: [Quickfix-users] How can I EOD with quickfix/j initiator
Brought to you by:
orenmnero
From: Dale W. <wil...@oc...> - 2006-02-17 15:29:29
|
Hi Chris, Chris van Ophuijsen wrote: ><SNIP> >I was hoping to be able to trigger an >EOD from an option on my client app as I am doing alot of testing with >re-sequencing against an acceptor type app and only need to EOD about >half of the time. > The answer to your question depends on what you are trying to do. If you are stopping and restarting the application the cleanest solution may be to "manually" reset the sequence number files in the store directory -- probably in a script file you use to start the app. Another approach would be to put code in the onCreate callback to conditionally reset the expected sequence number(s) in the newly created Session before you actually start the initiator or acceptor. You probably don't want this code to escape into the production version. If you're trying to do this while keeping the applicaiton up and running then it's a more difficult proposition. If this is the case, provide more information about what you would like to happen (and maybe why (grin)) Dale >Maybe setting the option to true and killing my app >uncleanly when I don't want to EOD will be a good workaround for me. > >Thanks for your help, >Chris > > > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >_______________________________________________ >Quickfix-users mailing list >Qui...@li... >https://lists.sourceforge.net/lists/listinfo/quickfix-users > > -- ----------------------------------------------------- Dale Wilson, Senior Software Engineer Object Computing, Inc. (OCI) http://www.ociweb.com/ http://www.theaceorb.com/ ---------------------------------------------------- |