RE: [Quickfix-developers] ResendRequest
Brought to you by:
orenmnero
From: Oren M. <ore...@ya...> - 2003-05-23 17:39:00
|
Yes, this is correct, except it should be toApp. The relevant code in TradeClient is this: FIX::PossDupFlag possDupFlag; message.getHeader().getField( possDupFlag ); if ( possDupFlag ) throw FIX::DoNotSend(); Which is saying that any application messages that is marked with possdup (which is a message being sent in response to a resend request), will not be resent. This is why the gap-fill skips over the order. If you comment out these lines, then tradeclient will resend the message normally. Bernard Spanger <bsp...@gx...> wrote: Brian, I had the same problem a while back, and it was answered somewhere in the forum. Around Feb 26, Oren wrote: "QuickFIX will resend all requested application messages unless you opt out. The way you can opt out is by throwing a DoNotSend exception in the toAdmin callback. If you throw this exception, the message will then be replaced with a sequence reset, otherwise it should be resent. " Hope this is the reason. - Bernard -----Original Message----- From: Brian Egge [mailto:Br...@ma...] Sent: Friday, May 23, 2003 11:34 AM To: 'qui...@li...' Subject: [Quickfix-developers] ResendRequest Hi, I'm a QuickFix newbie, and I'm trying to understand the ResendRequest. I'm using QF 1.4.1/C++. I'm running the executor example and tradeclient example. When both are running, I can send orders and get them immediately executed. Next I shutdown the executor, and send a trade from the tradeclient. My thought is it that this trade is now queued. I start up the executor, and the tradeclient will reconnect. After reconnect the executor displays: MsgSeqNum too high RECEIVED: 211 EXPECTED: 210 Sent ResendRequest FROM: 210 TO: 210... At this point I expect the client to resend the trade I sent while disconnected, instead the tradeclient sends a message sequence reset (35=4) message, and my trade is never executed. I'm sure I'm missing something obvious here. Can someone point me in the right direction? Brian Egge ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers --------------------------------------------- -Checked for viruses by McAfee.-i1 --------------------------------------------- Confidentiality. This message (including any attachments) (collectively, the "Material") may contain confidential information and is intended only for a specific individual and purpose. If you are not the intended recipient, any copying, disclosure, distribution or other use of the Material, or the taking of any action in reliance on the information contained therein, is strictly prohibited. If you have received the Material in error, please immediately notify us by telephone and delete the Material and all copies thereof from your computer and network. No Investment Advice, Offer or Solicitation; Suitability. The Material has been prepared for informational purposes only without regard to any particular user's investment objectives, financial situation or means and does not constitute an offer, solicitation or recommendation to take any action. We are not providing investment advice, nor do we represent that any securities or services described in the Material are suitable for a particular client. Before acting on the Material, each client should make its own determination whether information contained therein is suitable for its particular circumstances, and if necessary consult with a senior officer. Conflicts. We, or persons involved in the preparation of issuance of the Material, may from time to time effect transactions, or have positions in the securities mentioned in the Material (or options or futures contracts with respect thereto). Disclaimer. Although the Material is based upon information that we consider reliable, we do not warrant that the Material is reliable, accurate or complete and it should not be relied upon as such. Neither we, nor any of our affiliates or agents shall have any responsibility whatsoever for any direct, indirect, consequential, special or other damages or lost profits or savings or other economic harm your may suffer as a result of your reliance on the Material or the reliability, accuracy, or completeness thereof. We expressly disclaim all express and implied warranties, including, without limitation, warranties of merchantability and fitness for a particular purpose. --------------------------------------------- -Checked for viruses by McAfee.- o1 --------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers --------------------------------- Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. |