Re: [Quickfix-developers] Defaults session settings ?
Brought to you by:
orenmnero
|
From: Dale W. <wil...@oc...> - 2005-10-19 15:32:35
|
Hi Martin, Martin Tanguay wrote: > In my initiator file I have this session detailed with all its needed > tag. > [SESSION] > HeartBtInt=30 > BeginString=FIX.4.2 > SenderSubID=abcd > SenderCompID=efgh > TargetCompID=ijkl > RawData=abcd > SocketConnectHost=x.x.x.x > SocketConnectPort=1000 > > When my application try to connect to the host, the TAGs SenderSubID > and RawData are not in the header of the logon message, but my host > require them to allow the connection. > > How to make them part of the logon message? > RawData and SenderSubID are not standard QuickFIX settings entries. See http://www.quickfixengine.org/quickfix/doc/html/configuration.html To add these fields to a Logon message you must override toAdmin in your FIX::Application class, test for Login message there, and add the fields if necessary. It *is* possible to ask for the settings associated with the session and to pull RawData and SenderSubID from these settings so you can configure the values in the settings file if you want to, but you'll have to provide the code to honor these values. Dale -- ----------------------------------------------------- Dale Wilson, Senior Software Engineer Object Computing, Inc. (OCI) http://www.ociweb.com/ http://www.theaceorb.com/ ---------------------------------------------------- |