Modifying the RFA Configuration File

Edit the RFA configuration file to specify application preferences.

The Reuters libraries read the RFA configuration file at startup to set configuration preferences. Use the example configuration file (ExampleRFA.cfg) as a base for your own configuration file. This file is a Reuters configuration file, but contains information you need to configure the adapter.

  1. Use the example configuration file (ExampleRFA.cfg) as a base for your own configuration file. This file is a Reuters configuration file, but contains information you need to configure the adapter.
  2. Change the port number and host name entries as appropriate for your site. This extract from the file shows the entries used with the Sybase CEP Reuters adapter:
    \Connections\Connection_OMM\connectionType = "RSSL" 
    \Connections\Connection_OMM\rsslPort = "8101" 
    \Connections\Connection_OMM\hostName = "localhost" 

    On UNIX-like operating systems, an entry typically exists in /etc/services that reserves a Reuters port. Ensure that the port number you specify in the configuration file corresponds to the Reuters port number in the /etc/services file.

    Connection_OMM is the name of the connection, as specified in the session entry later in the RFA configuration file:
    \Sessions\SessionOMM\connectionList     = "Connection_OMM"

    The value of Connection_OMM corresponds to the node names that specify connection information earlier in the file. The node name here, SessionOMM, is the name of the session, as specified in the RDMConsumer.cfg file. This naming scheme associates connection information with a named session, and an instance of the adapter with a named session. Multiple adapter instances can use the same session.

  3. Modify the remaining entries related to logging as appropriate.
  4. Configure and start the appropriate RDM provider on the specified host using the specified port. The adapter attempts to connect to a provider on startup and, if unsuccessful, every 10 seconds thereafter. See the Reuters documentation for information about configuring RDM providers.