In the streamMap definition, the serviceName element maps a column in the source stream to the service identifier that the adapter provides as part of the envelope for each update.
adapter (required, limit one)
|----publication (required, limit one)
|----streamMaps (required, limit one)
| '----streamMap (required)
| |----itemName (required, limit one)
| |----serviceName (optional)
| |----sequenceNumber (optional)
| |----itemStale (optional)
| |----dataField (required)
| |----updateNumber (required)
| |----dateTimeField (optional)
| |----FIDListField (optional)
| '----nullField (optional)
|----recordTypeMap (optional)
| '----recordType (optional)
|----rfa (required, limit one)
'----itemLists (required, limit one)
'----itemList (required)
'----item (optional)
streamMap
None
| Name | Description | Requirement |
|---|---|---|
| key | True or false, depending on whether this column is part of the source stream's unique key | See Notes |
You must use the key attribute to set the value to true. If this column is not part of the stream's key, you can ommit this.
<streamMap name="stream1">
<itemName key="true"/>
<FIDListField />
<!-- serviceName / -->
<sequenceNumber />
<itemStale/>
<dataField name="BID"/>
<dataField name="ASK"/>
<dataField name="TRDPRC_1"/>
<dataField name="ACVOL_1"/>
<dateTimeField timeName="TIMACT" dateName="ACTIV_DATE"/>
</streamMap>
In this example, no column of the source stream is mapped to the service name provided by the adapter because it is commented out.