In the streamMap definition, the itemStale element identifies a column in the Event Stream Processor source stream that carries a flag indicating whether incoming RMDS data has gone stale.
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 |
---|---|---|
name | A string that appears in any adapter-related log entries | Required |
Use this element in the streamMap if one of the columns in the source stream is a "stale" flag.
RMDS itself does not supply a stale flag with regular market data, although it may pass along such a flag if it is provided by another service you are subscribing to via RMDS. If this element is used in the streamMap, the adapter sends out an update value of 1 if it receives a stale flag from RMDS, or stops receiving any data from RMDS.
<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>
The fourth column of the source stream is identified as the one that is updated if the adapter receives a stale notification, or stops receiving data from RMDS.