kpavlov / fixio

FIX Protocol Support for Netty
Apache License 2.0
101 stars 48 forks source link

BodyLength and Checksum not set? #22

Closed supermartzin closed 8 years ago

supermartzin commented 9 years ago

Hi!

I noticed during my testing that in message header there was no BodyLength tag which is required by the FIX Protocol specification (and I suspect this issue as a reason why I was being constantly disconnected from server). Also Checksum tag in trailer is always set to 0, don't know if I have to set it somehow or it is a default value.

Thanks in advance for you help.

kpavlov commented 9 years ago

Sounds strange. FixMessageEncoder is calculating BodyLength and the CheckSum fields automatically. This is a last handler in the pipeline. Could you provide some details? Check the fixio.FixConversationIT.