MaxMessageSize in FIX4.2

Imported from previous forum

[ original email was from T Obara - tobara@system.hitachi.co.jp ]
1.What should I set to MaxMessageSize in Logon message?

  • whole message size(from Header to Trailer) or, maximum value of BodyLength?

2.If a Logon message that has 9999 in this field is received and next message’s size is over 9999,
how should receiver be handling it?

For example:
One specified 9999 in this field as a limit of one’s FIX system.
This FIX system does not support fragmentation of message.
If the over 9999 size message is received,
the system ignored it and disconnect telecommunication line.
Is it correct?

  1. The difference between the two is only 8 bytes. I would consider this "whole message size".

  2. The primary purpose for MaxMessageSize is to provide information to help when transmitting large, repeating groups in the specific application-level messages which support "fragmentation" (e.g. MassQuote). In such a case, I may have 150 repeating group entries to send and I could send one message with 150, two with 75 or three with 50, or three with 60/60/30, etc. Having MaxMessageSize gives me some information upon which to calculate the optimal way to do this. You should not terminate if you receive a msg which exceeds this.

> 1.What should I set to MaxMessageSize in Logon message?
> - whole message size(from Header to Trailer) or, maximum value of BodyLength?
>
> 2.If a Logon message that has 9999 in this field is received and next message’s size is over 9999,
> how should receiver be handling it?
>
> For example:
> One specified 9999 in this field as a limit of one’s FIX system.
> This FIX system does not support fragmentation of message.
> If the over 9999 size message is received,
> the system ignored it and disconnect telecommunication line.
> Is it correct?
>