Modify the sample configuration file for your site's RMDS connection.
If you have multiple adapters using multiple RMDS connections, you may need a separate and
uniquely named configuration file for each one. For a configuration file with a different
name, either change the entry in the input adapter map file or specify that file name using
the -f option to the esp_rmdsomm command.
Prerequisites
- Create (or choose) a directory in which to store your site-specific configuration files.
- Create an environment variable (MY_CONFIG) and set it to the full path name of that directory.
Task
During the installation process, a sample configuration file
(rmdsomm.cfg) was placed in the
$ESP_RMDSOMM_HOME/config directory. This file follows the
Reuters format for configuration files and includes this section for your site-specific
information:
##
## Site-specific values for OMM Inbound - subscribing from RMDS
##
\Connections\Connection_RSSL\connectionType = "RSSL"
### Caution: post value comments like below confuse RFA parsing causing coredump
#\Connections\Connection_RSSL\hostName = "localhost" ## not here
\Connections\Connection_RSSL\hostName = "localhost"
\Connections\Connection_RSSL\rsslPort = "14002"
\Connections\Connection_RSSL\connectRetryInterval = 7000
\Sessions\Session1\connectionList = "Connection_RSSL"
- Obtain this information from your system administrator:
- Name of the server from which you receive RMDS OMM data
- Port number on that machine to which your system connects
- Name of the Reuters service to which you subscribe
- Make a copy of the sample configuration file in your $MY_CONFIG directory.
cp $ESP_RMDSOMM_HOME/config/rmdsomm.cfg $MY_CONFIG
- Use a text editor to open the configuration file.
- In the \Connections\Connection_RSSL\rsslPort line, replace the default port number (14002)
with the port used by your Reuters connection, if different.
- In the \Connections\Connection_RSSL\hostName line, replace
tigris.mycompany.com with the name of your server that receives OMM data from RMDS
(keep the surrounding quotation marks).
If your system has more than one server receiving data from RMDS, include all
of their names in a comma-separated list, in priority order.
- (Optional) In the \Logger\AppLogger\fileLoggerFilename line, change the name of the
log file.
The default file name rfasub.{p}.log, includes the string
{p} which the Reuters library replaces with the UNIX process ID when it creates the
log file.
- Save the modified file.
The other parameters in the configuration file also affect the functioning of the Reuters OMM adapter, and
you may want to modify them as well.