|
From: Christoph J. <chr...@ma...> - 2018-01-26 14:24:09
|
Hi, this cannot be done in QFJ itself. Unless you never reset the sequence numbers automatically. Usually this can be achieved by having a sequencing in your stored data as well. When you send out messages you store the sent internal sequence "number" (e.g. date plus increasing number). When the session comes up the next time, you subscribe only the data that has a higher sequence number than the one that you already sent out. A more brute-force approach could be to have your application check if there are still messages in the store, waiting to be sent. If yes, store these messages (memory or disk), reset the sequence numbers and re-insert these messages into the store. I'm sure there are also other ways to tackle this. Regards, Chris. On 26/01/18 14:47, Bartłomiej Kruczyk wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > > Hello! > > I know that quickfix is queueing messages in message store and sends them when other party is > logged into the session. My problem is that when new session starts, the sequence number is > resetted to 1 and thus messages queued after session end time (but before star time) are never > being sent to counterparty. Is there a way for a quickfix to ensure that the message will always > been sent, preferably at the begging of the new session? > > Best regards > Bartłomiej Kruczyk > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users -- Christoph John Development & Support T +49 241 557080-28 chr...@ma... MACD GmbH Oppenhoffallee 103 D-52066 Aachen www.macd.com Amtsgericht Aachen: HRB 8151 Ust.-Id: DE 813021663 Geschäftsführer: George Macdonald |