FA C++ supports custom symbols instead of SOH on per session basis. For that, the TagsDelimiter session property parameter is used.
Info |
---|
The default delimiter is 'SOH'SOH. |
The TagsDelimiter parameter is configured through SessionExtraParameters and through the engine.properties file. If parameter is set through a configuration file, either symbols ("S", "|", "^", etc.) or Hex code (0x24, 0x7C, 0x5E, etc.) are applicable.
In order to use the tagsDelimiter parameter for an acceptor, you should set a value for the default session in the config file: Session.Default.TagsDelimiter.
Info |
---|
The session always uses the tags delimiter from the default session for the very first messages during connection establishing (sending a logon, sending a confirm logon, and receiving an answer with a logon or a logout). You can call the Session::isInEstablishingConnectionMode method to get the current mode and the Session::getCurrentTagsDelimiter method to get the currently used delimiter. |
The tagsDelimiter is added as an argument in the following methods:
- StorageMgr::create
- FIXMessage::toString
- FIXMessage::::toRaw
- FIXMessage::prepare
- FIXMsgProcessor::parse
- FIXMsgProcessor::check
- FIXMsgProcessor::checkFields
- GenericPreparedMessage::GenericPreparedMessage (constructor)
As an option, you can call the static FAProperties::checkTagsDelimiterValue function.
Table of Contents
Allowed Parameter Values
...