Re: [Quickfix-developers] [qfj] Publishing Messages to JMS
Brought to you by:
orenmnero
|
From: Caleb E. <cal...@gm...> - 2005-09-12 15:45:49
|
On 9/12/05, Steve Bate <st...@te...> wrote: >=20 > > Brad Harvey wrote: > > - If I start an initiator and send a message before the logon process i= s > > completed the message doesn't go anywhere. If I explicitly wait until > > the session is logged on then it works fine. >=20 > Is there a resend request after the logon? What is the expected behavior > of FIX when a message is sent before a session has been associated with > a connection? What does the C++ engine do in this case? The C++ implementation always persists messages first, thereby assigning=20 them a sequence number, and then sends them (excepting of course resends). So in the case that the conneciton is down when a message is sent by the=20 Application, it will be logged and resent as a PossDup once the connection= =20 is re-established. The Application's first Logon message will have a higher= =20 sequence number (e.g. 2) which will cause the counterparty to request a=20 resend, at which point the original message 1 will be resent. --=20 Caleb Epstein caleb dot epstein at gmail dot com |