art
art

Reputation: 51

quickfix Message Rejected: Invalid tag number:

I am using QuickFix/J 1.14.3 with fix4.2 as both Initiator and Acceptor.

On Acceptor I tried to disable all Validation checks in the config file as seen below. The fromAdmin() is called with the violating message. I am not sure I want to mess with the data dictionary but I thought by disabling all checks I could actually get the message. The acceptor sets a field as follows. newOrderSingle.setField(new IntField(6401, 79 ));

Any help would be appreciated.

UseDataDictionary=N
DefaultMarketPrice=12.30
ValidateUserDefinedFields=N
ValidateFieldsHaveValues=N
ValidateFieldsOutOfOrder=N
ValidateUserDefinedMessages=N
UseDataDictionary=N

# ACCEPTOR SIMULATOR
[session]
SenderCompID=baml
TargetCompID=mjt
BeginString=FIX.4.2
SocketAcceptPort=9879
CheckCompID=N

Upvotes: 2

Views: 4643

Answers (1)

Oleg
Oleg

Reputation: 453

First of all add property

AllowUnknownMsgFields=Y

And use data dictionary it allows to process groups.

UseDataDictionary=Y

Upvotes: 2

Related Questions