Re: [Quickfix-developers] [Quickfix-developers]
Brought to you by:
orenmnero
From: Oren M. <or...@qu...> - 2004-04-16 14:38:49
|
Yeah, if a message fails basic validation, you will get infinite resend =20= requests. There isn't much that you can do about this. If a message =20 fails validation, the protocol says that the message must be ignored. =20= Meaning to treat it like it never happened. So of course sequence =20 numbers do not get incremented. FIX is designed to process all =20 messages in the correct order. Passing over a message and going to the =20= next one would violate this. Rejects really should only occur during testing. If you ever see a =20 session level reject during production, you should re-certify with your =20= counter-party. It basically means your connection is broken and needs =20= to be addressed. As for disabling the field format check. What you should do is open up =20= the data dictionary, and change the type for the offending field to a =20= STRING. i.e. <field number=3D"126" name=3D"ExpireTime" type=3D"UTCTIMESTAMP"/> becomes <field number=3D"126" name=3D"ExpireTime" type=3D"STRING"/> Since strings can be in any format, they are not validated. On Apr 16, 2004, at 9:16 AM, Angela Metallo wrote: > I would like to know if is it possible to disable the Field Format =20 > check because I receive the messages with some tags without a value. > > I have also another problem, when resincronize the two FixEngine after = =20 > the logon message if QuickFix receive more than a message that doesn't = =20 > pass the validation it generate a Reject message for each message =20 > received (that is correct) but it doesn't increment the sequence =20 > number so it sends infinite resend request with the same BeginSeqNo. =20= > This case works fine when the two FixEngine are already sincronized =20= > perhaps because of te HeartBeat message that I receive between the =20 > NewOrder. > > 20040414-08:09:07.213 : [EVN] <next> message: =20 > 8=3DFIX.4.2=019=3D262=0135=3DD=0134=3D198=0143=3DY=0149=3DITSOFT=0150=3D= ITSOFT=0152=3D20040414-08:=20 > 09:07=0156=3DETME_FIX_15=01122=3D20040414-06:49:=20 > = 11=011=3DJ=0111=3D20040414000002=0115=3DEUR=0121=3D2=0122=3D5=0138=3D1000=01= 40=3D2=0144=3D101=0148=3DTEST2=01=20 > 54=3D1=0155=3DTEST2=0159=3D6=0160=3D20040414-06:49:=20 > 11=01100=3DMI=01109=3D~0414084911000=01126=3D20040415=01207=3DMI=01432=3D= 20040415=0110=3D188=01 > 20040414-08:09:07.254 : [EVN] Message 198 Rejected: Incorrect data =20 > format for value:126 > 20040414-08:09:07.254 : [EVN] <next> message: =20 > 8=3DFIX.4.2=019=3D108=0135=3D4=0134=3D199=0143=3DY=0149=3DITSOFT=0150=3D= ITSOFT=0152=3D20040414-08:=20 > 09:07=0156=3DETME_FIX_15=01122=3D20040414-08:09:07=0136=3D200=01123=3DY=01= 10=3D220=01 > 20040414-08:09:07.264 : [EVN] MsgSeqNum too high RECEIVED: 199 =20 > EXPECTED: 198 > 20040414-08:09:07.264 : [EVN] Sent ResendRequest FROM: 198 TO: 0 > 20040414-08:09:07.274 : [EVN] <next> message: =20 > 8=3DFIX.4.2=019=3D262=0135=3DD=0134=3D200=0143=3DY=0149=3DITSOFT=0150=3D= ITSOFT=0152=3D20040414-08:=20 > 09:07=0156=3DETME_FIX_15=01122=3D20040414-06:49:=20 > = 35=011=3DJ=0111=3D20040414000003=0115=3DEUR=0121=3D2=0122=3D5=0138=3D1000=01= 40=3D2=0144=3D101=0148=3DTEST2=01=20 > 54=3D1=0155=3DTEST2=0159=3D6=0160=3D20040414-06:49:=20 > 35=01100=3DMI=01109=3D~0414084935616=01126=3D20040415=01207=3DMI=01432=3D= 20040415=0110=3D204=01 > 20040414-08:09:07.274 : [EVN] Message 200 Rejected: Incorrect data =20 > format for value:126 > 20040414-08:09:07.274 : [EVN] <next> message: =20 > 8=3DFIX.4.2=019=3D108=0135=3D4=0134=3D201=0143=3DY=0149=3DITSOFT=0150=3D= ITSOFT=0152=3D20040414-08:=20 > 09:07=0156=3DETME_FIX_15=01122=3D20040414-08:09:07=0136=3D203=01123=3DY=01= 10=3D207=01 > 20040414-08:09:07.284 : [EVN] MsgSeqNum too high RECEIVED: 201 =20 > EXPECTED: 198 > 20040414-08:09:07.284 : [EVN] Sent ResendRequest FROM: 198 TO: 0 > 20040414-08:09:07.284 : [EVN] <next> message: =20 > 8=3DFIX.4.2=019=3D262=0135=3DD=0134=3D203=0143=3DY=0149=3DITSOFT=0150=3D= ITSOFT=0152=3D20040414-08:=20 > 09:07=0156=3DETME_FIX_15=01122=3D20040414-06:50:=20 > = 50=011=3DJ=0111=3D20040414000004=0115=3DEUR=0121=3D2=0122=3D5=0138=3D1000=01= 40=3D2=0144=3D101=0148=3DTEST2=01=20 > 54=3D1=0155=3DTEST2=0159=3D6=0160=3D20040414-06:50:=20 > 50=01100=3DMI=01109=3D~0414085050133=01126=3D20040415=01207=3DMI=01432=3D= 20040415=0110=3D169=01 > 20040414-08:09:07.294 : [EVN] Message 203 Rejected: Incorrect data =20 > format for value:126 > 20040414-08:09:07.294 : [EVN] <next> message: =20 > 8=3DFIX.4.2=019=3D108=0135=3D4=0134=3D204=0143=3DY=0149=3DITSOFT=0150=3D= ITSOFT=0152=3D20040414-08:=20 > 09:07=0156=3DETME_FIX_15=01122=3D20040414-08:09:07=0136=3D205=01123=3DY=01= 10=3D212=01 > 20040414-08:09:07.304 : [EVN] MsgSeqNum too high RECEIVED: 204 =20 > EXPECTED: 198 > 20040414-08:09:07.314 : [EVN] <next> message: =20 > 8=3DFIX.4.2=019=3D262=0135=3DD=0134=3D205=0143=3DY=0149=3DITSOFT=0150=3D= ITSOFT=0152=3D20040414-08:=20 > 09:07=0156=3DETME_FIX_15=01122=3D20040414-06:51:=20 > = 21=011=3DJ=0111=3D20040414000005=0115=3DEUR=0121=3D2=0122=3D5=0138=3D1000=01= 40=3D2=0144=3D101=0148=3DTEST2=01=20 > 54=3D1=0155=3DTEST2=0159=3D6=0160=3D20040414-06:51:=20 > 21=01100=3DMI=01109=3D~0414085121768=01126=3D20041104=01207=3DMI=01432=3D= 20041104=0110=3D175=01 > 20040414-08:09:07.314 : [EVN] Message 205 Rejected: Incorrect data =20 > format for value:126 > 20040414-08:09:07.324 : [EVN] <next> message: =20 > 8=3DFIX.4.2=019=3D108=0135=3D4=0134=3D206=0143=3DY=0149=3DITSOFT=0150=3D= ITSOFT=0152=3D20040414-08:=20 > 09:07=0156=3DETME_FIX_15=01122=3D20040414-08:09:07=0136=3D333=01123=3DY=01= 10=3D216=01 > 20040414-08:09:07.334 : [EVN] MsgSeqNum too high RECEIVED: 206 =20 > EXPECTED: 198 > 20040414-08:09:07.334 : [EVN] Sent ResendRequest FROM: 198 TO: 0 > 20040414-08:09:07.464 : [EVN] <next> message: =20 > 8=3DFIX.4.2=019=3D262=0135=3DD=0134=3D198=0143=3DY=0149=3DITSOFT=0150=3D= ITSOFT=0152=3D20040414-08:=20 > 09:07=0156=3DETME_FIX_15=01122=3D20040414-06:49:=20 > = 11=011=3DJ=0111=3D20040414000002=0115=3DEUR=0121=3D2=0122=3D5=0138=3D1000=01= 40=3D2=0144=3D101=0148=3DTEST2=01=20 > 54=3D1=0155=3DTEST2=0159=3D6=0160=3D20040414-06:49:=20 > 11=01100=3DMI=01109=3D~0414084911000=01126=3D20040415=01207=3DMI=01432=3D= 20040415=0110=3D188=01 > 20040414-08:09:07.464 : [EVN] Message 198 Rejected: Incorrect data =20 > format for value:126 > 20040414-08:09:07.474 : [EVN] <next> message: =20 > 8=3DFIX.4.2=019=3D108=0135=3D4=0134=3D199=0143=3DY=0149=3DITSOFT=0150=3D= ITSOFT=0152=3D20040414-08:=20 > 09:07=0156=3DETME_FIX_15=01122=3D20040414-08:09:07=0136=3D200=01123=3DY=01= 10=3D220=01 > 20040414-08:09:07.474 : [EVN] MsgSeqNum too high RECEIVED: 199 =20 > EXPECTED: 198 > 20040414-08:09:07.474 : [EVN] Sent ResendRequest FROM: 198 TO: 0 > 20040414-08:09:07.484 : [EVN] <next> message: =20 > 8=3DFIX.4.2=019=3D262=0135=3DD=0134=3D200=0143=3DY=0149=3DITSOFT=0150=3D= ITSOFT=0152=3D20040414-08:=20 > 09:07=0156=3DETME_FIX_15=01122=3D20040414-06:49:=20 > = 35=011=3DJ=0111=3D20040414000003=0115=3DEUR=0121=3D2=0122=3D5=0138=3D1000=01= 40=3D2=0144=3D101=0148=3DTEST2=01=20 > 54=3D1=0155=3DTEST2=0159=3D6=0160=3D20040414-06:49:=20 > 35=01100=3DMI=01109=3D~0414084935616=01126=3D20040415=01207=3DMI=01432=3D= 20040415=0110=3D204=01 > 20040414-08:09:07.484 : [EVN] Message 200 Rejected: Incorrect data =20 > format for value:126 > 20040414-08:09:07.484 : [EVN] <next> message: =20 > 8=3DFIX.4.2=019=3D108=0135=3D4=0134=3D201=0143=3DY=0149=3DITSOFT=0150=3D= ITSOFT=0152=3D20040414-08:=20 > 09:07=0156=3DETME_FIX_15=01122=3D20040414-08:09:07=0136=3D203=01123=3DY=01= 10=3D207=01 > 20040414-08:09:07.484 : [EVN] MsgSeqNum too high RECEIVED: 201 =20 > EXPECTED: 198 > 20040414-08:09:07.494 : [EVN] Sent ResendRequest FROM: 198 TO: 0 > 20040414-08:09:07.494 : [EVN] <next> message: =20 > 8=3DFIX.4.2=019=3D262=0135=3DD=0134=3D203=0143=3DY=0149=3DITSOFT=0150=3D= ITSOFT=0152=3D20040414-08:=20 > 09:07=0156=3DETME_FIX_15=01122=3D20040414-06:50:=20 > = 50=011=3DJ=0111=3D20040414000004=0115=3DEUR=0121=3D2=0122=3D5=0138=3D1000=01= 40=3D2=0144=3D101=0148=3DTEST2=01=20 > 54=3D1=0155=3DTEST2=0159=3D6=0160=3D20040414-06:50:=20 > 50=01100=3DMI=01109=3D~0414085050133=01126=3D20040415=01207=3DMI=01432=3D= 20040415=0110=3D169=01 > 20040414-08:09:07.494 : [EVN] Message 203 Rejected: Incorrect data =20 > format for value:126 > 20040414-08:09:07.504 : [EVN] <next> message: =20 > 8=3DFIX.4.2=019=3D108=0135=3D4=0134=3D204=0143=3DY=0149=3DITSOFT=0150=3D= ITSOFT=0152=3D20040414-08:=20 > 09:07=0156=3DETME_FIX_15=01122=3D20040414-08:09:07=0136=3D205=01123=3DY=01= 10=3D212=01 > .... and so on ... > > Thank you for your response. > > Angela > > __________________________________ > Angela Metallo > IT SOFTWARE S.p.A. > Via Santa Sofia 27 - 20122 Milano > Phone +39 02.58343.339 > Fax +39 02.58315.195 > mailto:a.m...@it... > www.itsoftware.it > > > This message is for the named person's use only. It may contain =20 > confidential, proprietary or legally privileged information. No =20 > confidentiality or privilege is waived or lost by any mistransmission. = =20 > You may not, directly or indirectly, use, disclose, distribute, print, = =20 > or copy any part of this message if you are not the intended =20 > recipient. You are therefore equested to cancel this e-mail and the =20= > relating attachments if you are not the intended recipient. IT =20 > SOFTWARE S.p.A. does not warrant, whether to the intended recipient or = =20 > to anybody else, that any attachments are free from viruses or other =20= > defects and accept no liability for any losses resulting from infected = =20 > email transmissions. Please note, that any views expressed in this =20 > message are those of the individual sender, except where the sender =20= > specifically states them to be the views of IT SOFTWARE S.p.A. > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id638&op=3Dclick > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |