In a stream definition in an output adapter map file, the stale element identifies a column in the source stream for which the value changes from 0 to 1 if the stream goes stale.
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)
A stream is considered to have gone stale if, for example, one of the stream's data sources is no longer being updated.
stream
None
| Name | Description | Requirement |
|---|---|---|
| column | A number representing the position of the column with the secondary key value (the first column in the stream has the number 0) | Required |
| name | A string that identifies the stale column so that it may be mapped to a FID (published) | Optional |
None
<stream name="stream1" >
<name column="0"/>
<stale column="3" name="ACVOL_1"/>
<field column="1" name="DSPLY_NAME" />
<field column="4" name="BID" precision="47" />
<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>
This example identifies the third column of stream1 as its stale column. If the stale column is specified, the column value is published and the RIC is marked stale.