The rfa element provides information for configuring the Reuters side of the adapter, including an explicit reference to the Reuters-side configuration file.
adapter (required, limit one) |----rfa (required, limit one) '----subscriptions (required, limit one) '----subscription (required) '----stream (required) |----name (required, limit one) |----stale (optional) |----field (required) '----constant (optional)
adapter
None
Name | Description | Requirement |
---|---|---|
serviceName | A service name that is included in the header of every update sent out by the Reuters OMM 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 at $ESP_RMDSOMM_HOME/config/rmdsomm.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 |
blankDate | A marker to use for blank Date fields | Optional |
blankDouble | A marker to use for blank Double fields | Optional |
blankInt32 | A marker to use for blank Int32 fields | Optional |
blankInt64 | A marker to use for blank Int64 fields | Optional |
blankMoney | A marker to use for blank Money fields | Optional |
blankString | A marker to use for blank String fields | Optional |
blankTimestamp | A marker to use for blank Timestamp fields | Optional |
enumFile | The full path name of the Reuters-supplied file that lists each enumerated type along with the range of values it can take | Optional (the default is the enumType definition) |
fidFile | The full path name of the Reuters-supplied file that lists all of the valid FIDs | optional (the default is the RDMField Dictionary) |
None
<rfa serviceName="IDN_RDF" config="$ESP_RDMSOMM_HOME/config/rmdsomm.cfg" sessionName="Session1" configDatabaseName="RFA" />
This example points the Reuters OMM adapter to the Reuters-side configuration in the file rmdsomm.cfg key. The first five uncommented lines in this configuration file are:
\Connections\Connection_RSSL\connectionType = "RSSL" \Connections\Connection_RSSL\hostName = "tigris.mycompany.com" \Connections\Connection_RSSL\rsslPort = "14002" \Connections\Connection_RSSL\connectRetryInterval = 7000 \Sessions\Session1\connectionList = "Connection_RSSL"
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 rmdsomm.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."