Jump to content

Adding new fields to the QuickFIX/J Config File


Mehmed Aktas

Recommended Posts

I want to add new fields to the outgoing 35=A(Logon) message.

I added new fields in the QuckFIX/J config file.

I used the AppDataDictionary= and TransportDataDictionary= fields to show the FIXT1.1 dictionary with its new fields.

However, it didn't work. The FIX output adapter did not send the new fields in the 35=A message.

Then I replaced the default FIXT1.1 dictionary in the QuickFIX Java library. It didn't work as well.

How could I add the new fields to the outgoing 35=A message in the FIXT1.1 QuickFIX/J config file

My config file is as follows:

[default]

ConnectionType=initiator

SendingTime=

StartTime=00:00:00

EndTime=00:00:00

 

[session]

BeginString=FIXT.1.1

TransportDataDictionary=FIXT11.xml

SenderCompID=**

TargetCompID=**

TargetSubID=**

SenderLocationID=**

SocketConnectHost=127.0.0.1

SocketConnectPort=**

HeartBtInt=4

FileLogPath=logs/**

FileStorePath=store/**

ResetSeqNum=Y

MsgSeqNum=1

NextExpectedMsgSeqNum=1

DefaultApplVerID=9

DefaultApplExtID=100

 

# User login properties

EncryptedMethod=NONE

Username=**

Password=**

NewPassword=**

Link to comment
Share on other sites

Hi Mehmed,

In FIX, the Logon message is an administrative message. Most FIX engines, including the version of QuickFIX/J that ships with TIBCO Streaming and TIBCO StreamBase, don't allow the addition of custom tags in admin messages using just a configuration file.

Instead, they require some kind of admin message callback -- for the QuickFIX/J engine used by the StreamBase FIX Adapter, it's possible for you to implement a Custom Admin Message Interceptor Class in Java, and then configure that class to be found at runtime.

More information on how to do this is in the product documentation here.

(This mechanism is also available when using the StreamBase FIX Engine (B2Bits) as well, also known as the High-Performance FIX Engine.)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...