rfa

The rfa element provides information for configuring the Reuters side of the adapter, including an explicit reference to the Reuters-side configuration file.

Summary

adapter                                   (required, limit one)
  |----rfa                                (required, limit one)
  '----subscriptions                      (required, limit one)
         '----subscription                (required)
                '----stream               (required)
                       |----name          (required, limit one)
                       |----service       (optional)
                       |      '----enum   (required)
                       |----stale         (optional)
                       |----field         (required)
                       '----constant      (optional)

Parent

adapter

Children

None

Attributes

Name Description Requirement
serviceName Defines a service name that is included in the header of every update sent out by the Reuters Marketfeed adapter Optional
config The absolute path and file name of the Reuters-side configuration file for publication (the sample file supplied with the adapter is $ESP_REUTERS_HOME/config/rfapub.cfg) Required
sessionName A reference to a session named defined in the Reuters-side configuration file for publication Required
configDatabaseName A reference to the Reuters database name Optional

Notes

None

Example

<rfa serviceName="IDN_RDF"
        config="$ESP_REUTERS_HOME/config/rfapub.cfg"
        sessionName="Session1" configDatabaseName="RFA" />

This example points the Reuters Marketfeed adapter to the Reuters-side configuration in the file rfapub.cfg. The first four uncommented lines in this configuration file are:

\Connections\Connection_SSLED_MP\ipcServerName = "8105"
\Connections\Connection_SSLED_MP\connectionType = "SSLED_MP"
\Connections\Connection_SSLED_MP\entitlementData = false
\Sessions\Session1\connectionList = "Connection_SSLED_MP"

The last of these lines implicitly defines a session name that is defined as the sessionName in the map file. The other three lines from rfapub.cfg key on this session name. This is how the value for sessionName ties this publication section of the map file to a configuration set in the .cfg file.

When the adapter publishes using this configuration, each update is identified with the serviceName "IDN_RDF".