Create an adapter map file to configure the interface between the output adapter and Event Stream Processor.
The examples shown below map updates from RMDS to the source stream defined in the example.project.xml file.
xml version="1.0" encoding="UTF-8"
<adapter> </adapter>
Attribute | Description |
---|---|
config | Specify the full path name of the Reuters configuration file. |
fidFile | Specify the full path name of the Reuters-supplied file that lists all of the valid FIDs. |
enumFile | Specify the full path name of the Reuters-supplied file that lists each enumerated type along with the range of values it can take. |
serviceName | Specify the service name provided by Reuters for the adapter to send data to RMDS. |
sessionName | Specify the sessionName value found in the Reuters configuration file, rfasub.cfg. |
<rfa config="$ESP_REUTERS_HOME/config/rfapub.cfg" fidFile="$ESP_REUTERS_HOME/config/appendix_a" enumFile="$ESP_REUTERS_HOME/config/enumtype.def" serviceName="IDN_RDF" sessionName="Session1" />
<subscriptions> </subscriptions>
Attribute | Description |
---|---|
name | Specify a unique name for this subscription. |
flags | Set this parameter to “BASE” to obtain a complete set of initial values. This may be undesirable in situations such as recovery if there are a lot of unchanging values because getting those values adds latency to the other values. In these cases, set this parameter to “NO_BASE”. |
<subscription name="subscription1" flags="BASE" > </subscription>Each subscription defined in the output adapter map file must reference at least one Event Stream Processor stream.
Attribute | Description |
---|---|
name | Specify the Reuters FID “PROD_PERM.” |
value | Specify the permission code issued by Reuters that certifies your permission to publish to RMDS. |
Attribute | Description |
---|---|
column | Set this parameter to either the name of the column or the numeric position (one less than the position of the value in the project). |
name | Specify the Reuters FID for this data. |
<stream name="stream1" > <name column="0"/> <stale column="3" /> <field column="4" name="BID" precision="5" /> <field column="5" name="ASK" precision="0" /> <field column="6" name="TRDPRC_1"/> <field column="7" name="ACVOL_1"/> <constant name="PROD_PERM" value="1"/> </stream>