PeteOopNorf
PeteOopNorf

Reputation: 97

Can I tell quickfix to relax validation against dictionary?

Having some problems with incoming messages for our quickfix connection. We use a dictionary because of repeating groups in the messages, but this means quickfix is applying a strict validation of incoming messages. But I've had problems with the server changing it's message formats without warning. The incoming message suddenly contains new fields, not in the dictionary. Quickfix rejects them.

Is there a way to tell quickfix to relax validation, either pass the message with a warning, or just ignore any fields not in the dictionary? This is an XML based dictionary after all, why does it flat out reject fields not included, I can understand if a field specified as required is missing.

Thanks.

Upvotes: 3

Views: 3484

Answers (2)

Prashanth
Prashanth

Reputation: 338

You can relax the validation by not using the dictionary at all, if that is of any use to you.

UseDataDictionary=N.

Upvotes: 2

iku
iku

Reputation: 1067

Try setting AllowUnknownMsgFields=Y in config.

Upvotes: 4

Related Questions