Mapping Processor

Prev Next

The Mapping Processor is the only processor that is necessary to the processing chain. It specifies which RAS message attributes fit where in the cue point. It also specifies default values and allows us to overwrite existing cue attributes.

Param name

Mandatory

Description

Default Value

Possible Value

key

Yes

Name of the attribute we will be assigning to.

 

Not null.

value

Yes

Source of the attribute value. This can be any static string, or it can be a combination of RAS message attributes (specified by {}).

E.g.: {song} played by {artist}

 

Not null.

override

No

Assign attribute even if attribute already has a value.

false 

true, false.

Example XML:

<MappingProcessor>
   <WhiteList>
     <Item key="category" value="COM*" />
   </WhiteList>
   <BlackList>
     <Item key="category" value="COM99" />
   </BlackList>
   <MappingItems>
     <MappingItem key="type" value="ad" />
     <MappingItem key="ad_type" value="break" override="true" />
   </MappingItems>
   <NextProcessors>
   </NextProcessors>
</MappingProcessor>