In a stream definition in an output adapter map file, service identifies a column in the source stream that is another component of the stream's unique key.
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)
stream
None
Name | Description | Requirement |
---|---|---|
column | A number that represents the position of the column with the secondary key value (the first column in the stream has the number 0) | Required |
delim | Specifies a character to use as the separator between a name and a prefix | Optional |
The service element in the output adapter map file must contain one enum element for each possible value in the source column.
<service column="2" delim="_"> <enum value="RDF" prefix="R"/> <enum value="ISFS" prefix="I"/> </service>
This section configures the adapter to test the value of the second column of every update from the Event Stream Processor stream (the value of the name attribute of the stream element).
If the value is RDF, the adapter adds the prefix "R" followed by the specified delim value to the name of the published update (the value of the name attribute of the publication element).
If the value is ISFS, the adapter adds the prefix "I" to the name of the published update.