Elements for fastfeedhandler.xml

Element

Description

FASTFeedHandler

This is the root element of the configuration file.

Logger

Contains settings for logging activities

LogLevel

The level of logging. Valid values are

error: only log errors

warning: log warnings in addition to errors

info: log informational messages in addition to messages logged at the warning level

debug: log debugging messages in addition to messages logged at the info level

LogFile

The name and location of the log file. The file name can be relative or a full path.

FASTTemplateLibrary

This defines a FAST template library. The library must contain at least one TemplateLibraryFile tag. If duplicate FAST templates are present within the definition of the library, the definition which appears last will be used.

TemplateLibraryFile

This tag specifies an absolute or relative location of a file which is in the FAST template XML format, or the absolute or relative location of a directory containing files which are in the FAST template XML format. The tag may be repeated 1 or more times in a template library.

SessionManager

This contains information about the FAST session established between the FAST Feed handler and the source producing FAST encoded messages.

FASTDataMode

This determines whether the FAST data being received is using stream mode or block mode. Valid values are stream and block.

MessageHandler

This contains configuration parameters related to the shared library message handler plug-in.

SharedLibrary

The name of the shared library to load for the message handler.

InitFunctionName

The name of the initialization function to look up in the shared library.

FiniFunctionName

The name of the finalization function to look up in the shared library.

ProcessFunctionName

The name of the process function to look up in the shared library.

InitParams

A list of initialization parameters to be passed to the shared librarys initialization function.

InitParam

The initialization parameters name and value which will be passed to the shared librarys initialization function.

SessionConnection

This describes the FIX session connection information between the FAST Feed Handler and the source producing FAST encoded messages.

LocalInterface

This is the IP address of a network interface on the local machine which should be used for receiving data from the source producing FAST encoded messages.

MulticastHost

This is the UDP multicast address of the source producing FAST encoded messages.

ListenPort

This is the UDP multicast port of the source producing FAST encoded messages.

The contents of publisher.xml are identical to the DemoFeedHandler’s publisher.xml file (for further details please refer to the publisher.xml settings in the Demo Feed Handler section) except that the logging details in the fastfeedhandler.xml file supersede the logging details specified in the publisher.xml file.