|
From: Christoph J. <chr...@ma...> - 2023-10-19 10:28:58
|
Hi, unrelated question: do you happen to use Outlook? If so, please send mails as plain text or HTML (NOT as rich text), otherwise they might get mangled by some servers. I must use Outlook and your mail gets split up in several attachments for some reason. Or maybe this is only a problem for me, and I don't know how to use Outlook right (coming from Thunderbird). 😊 However, w.r.t. your problem: does this only occur for ExecReports but not for other application messages? Always on the same session? Why do you instantiate the message class instead of using a MessageFactory? How do you send the messages out? Via Session.sendToTarget()? Cheers Chris -----Original Message----- From: Vlad Radu <vra...@gm...> Sent: 18 October 2023 16:35 To: qui...@li... Subject: [Quickfixj-users] Missing BeginString tag on outbound Execution Reports QFJ Documentation: http://www.quickfixj.org/documentation/ QFJ Support: http://www.quickfixj.org/support/ In our production environment we've seen this occur sporadically for outbound Execution Reports on a particular FIX 4.4 session, using QuickFIX/J 2.3.1 . As an example: Good: 8=FIX.4.4|9=532|35=8|34=2766|49=SENDER|52=20231006-20:00:18.322|56=TARGET|116=TRADE| .... |10=114| Bad: 9=558|35=8|34=2767|49=SENDER|52=20231006-20:00:18.329|56=TARGET|116=TRADE| .... |10=114| I had to remove the body but left the headers. The messages are built using quickfix.Message class, adding following headers programmatically: MsgType,OnBehalfOfSubID , DeliverToCompID. Unlike quickfix.fix44.Message prior class does not update the BeginString as normally this is done anyway by the Session before sending a message out. As can be seen in the above example all other headers are present (besides BeginString) and looking at the code they get initialized in the same method. I can find no explanation for this occurring and cannot reproduce myself. Has anyone seen something like this occur? |