The File Plug-in allows the FIX adapter to read and write FIX messages to the file system.
The File Plug-in supports polling when reading. To enable polling, set the InputPollInterval setting to a value greater than 0 (where this value represents the number of seconds to wait between polls). Polling is disabled if the InputPollInterval value is set to 0, in which case the plug-in will only read from the file once.
When writing, the OutputMaxFileSize setting determines (in KB) the maximum file size before a new file will be created.
The InputFilePath specifies the name and path of the file from which the plug-in reads FIX messages. If the setting is present, the plug-in will read FIX messages from a file.
The OutputFilePath specifies the name and path of the file to which the plug-in writes FIX messages. If this setting is present, the plug-in will write FIX messages to a file.
<section name="CustomSettings"> <preference name="InputFilePath">message-in.txt</preference> <preference name="OutputFilePath">message-out.txt</preference> <preference name="InputPollInterval">1</preference> <preference name="OutputMaxFileSize">1</preference> </section>