Re: [Quickfix-developers] any way to re-receive an execution report
Brought to you by:
orenmnero
From: Oren M. <or...@qu...> - 2004-10-13 16:12:43
|
QuickFIX considers the message has been handed off as soon as the fromApp method returns (which is what delegates to onMessage). It is at this point that the sequence numbers will be incremented. Once the sequence number is updated, QF will never pass this message to you again. In fact, it doesn't even retain any knowledge of the message apart from the fact that the sequence number has been processed. If your application works in such a way that you are not completely processing the message when it is passed to you, then your onMessage should at least put the message in a persistent queue to take ownership over the message. --oren On Oct 13, 2004, at 9:38 AM, Vijay Yadav wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX FAQ: > http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hello all, > Upon receipt of a trade, I write the trade to a trade table. For this, > I extract fields from ExecutionReport object. I imagine this tells > quickfix that I have processed this specific execution report? Is there > anyway through which I can extract fields from the ExecutionReport > message and still signal Quickfix to reinvoke the ::onMessage with the > same execution report. > > 1. How does QuickFix know within the context of ::onMessage that this > message need not be sent again. > > 2. Is there a way to force QuickFix to resend the same message i.e. > reinvoke onMessage till I somehow explicitly signal that I've > successfully processed the message. > > I could store the message locally within my app and process it as and > when I deem necessary but I'm trying to see if I can do it the lazy > way. > > -- vijay > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on > ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give > us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |