Re: [Quickfix-developers] Proper way for resend request?
Brought to you by:
orenmnero
From: Ulisses <hay...@gm...> - 2009-06-07 14:04:03
|
Hi Joe, You are not receiving the messages because quickfix tracks the next expected incoming message sequence number. You ask a resendrequest from 1 to 10000 but quickfix see that the next expected sequence number to come is 5000, so quickfix will throw away the messages from 1 to 5000. To receive the messages in the way you want, you need to change the next expected incoming message sequence number. See the .seqnums files in the same level of .body files. There are two numbers separeted by a colon, I think that the next incoming is the first one. Best regards, Ulisses. On Fri, Jun 5, 2009 at 7:41 AM, Joseph La Valle <jpl...@co...>wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > So what is the best way to get the messages? > > joe > > ----- Original Message ----- > From: "Christoph John" <chr...@ma...> > To: "Mike Perik" <mic...@ya...> > Cc: <qui...@li...>; "jplavalle" > <jpl...@co...> > Sent: Friday, June 05, 2009 2:07 AM > Subject: Re: [Quickfix-developers] Proper way for resend request? > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Hi, > > > > IIRC, only the messages you sent to the counterparty are in the message > > store. Not the counterparty's. > > > > Regards, > > Chris > > > > > > Mike Perik wrote: > >> QuickFIX Documentation: > >> http://www.quickfixengine.org/quickfix/doc/html/index.html > >> QuickFIX Support: http://www.quickfixengine.org/services.html > >> > >> > >> Instead of doing the resend request you could request the messages from > >> the message store. > >> > >> Mike > >> > >> --- On Thu, 6/4/09, jplavalle <jpl...@co...> wrote: > >> > >>> From: jplavalle <jpl...@co...> > >>> Subject: [Quickfix-developers] Proper way for resend request? > >>> To: qui...@li... > >>> Date: Thursday, June 4, 2009, 11:28 AM > >>> QuickFIX Documentation: > >>> http://www.quickfixengine.org/quickfix/doc/html/index.html > >>> QuickFIX Support: http://www.quickfixengine.org/services.html > >>> > >>> > >>> When the user logs back in I want to display all of todays > >>> messages, so I am > >>> trying to do a resend request but I dont seem to get any > >>> messages. What is > >>> the proper way to get the messages for the day? > >>> > >>> my code is called after successful logon > >>> > >>> public void send_resend_request() > >>> { > >>> QuickFix42.ResendRequest resendrequest = new > >>> QuickFix42.ResendRequest(new > >>> QuickFix.BeginSeqNo(1), new QuickFix.EndSeqNo(1000000)); > >>> > >>> Session.sendToTarget(resendrequest, _session); > >>> } > >>> -- > >>> View this message in context: > >>> > http://www.nabble.com/Proper-way-for-resend-request--tp23873431p23873431.html > >>> Sent from the QuickFIX - Dev mailing list archive at > >>> Nabble.com. > >>> > >>> > >>> > ------------------------------------------------------------------------------ > >>> OpenSolaris 2009.06 is a cutting edge operating system for > >>> enterprises > >>> looking to deploy the next generation of Solaris that > >>> includes the latest > >>> innovations from Sun and the OpenSource community. Download > >>> a copy and > >>> enjoy capabilities such as Networking, Storage and > >>> Virtualization. > >>> Go to: http://p.sf.net/sfu/opensolaris-get > >>> _______________________________________________ > >>> Quickfix-developers mailing list > >>> Qui...@li... > >>> https://lists.sourceforge.net/lists/listinfo/quickfix-developers > >>> > >> > >> > >> > >> > >> > ------------------------------------------------------------------------------ > >> OpenSolaris 2009.06 is a cutting edge operating system for enterprises > >> looking to deploy the next generation of Solaris that includes the > latest > >> innovations from Sun and the OpenSource community. Download a copy and > >> enjoy capabilities such as Networking, Storage and Virtualization. > >> Go to: http://p.sf.net/sfu/opensolaris-get > >> _______________________________________________ > >> Quickfix-developers mailing list > >> Qui...@li... > >> https://lists.sourceforge.net/lists/listinfo/quickfix-developers > >> > > > > - -- > > Christoph John > > http://www.macd.com Tel.: +49 (0)241 44597-28 > > Macdonald Associates GmbH Geschäftsführer: George Macdonald > > Oppenhoffallee 103, D-52066 Aachen Amtsgericht Aachen, HRB 8151, Ust.-Id > > DE813021663 > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.6 (GNU/Linux) > > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > > > iD8DBQFKKLY8Mtne1i1i0z0RAm86AJ0am91Mi//JhPhymn8mBbPW061eMACeI7aJ > > Dmg+k0jN+Y95xuXUZPc9JEk= > > =FJyP > > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |