This example outlines the behavior of a sample Java manipulator.
The Java manipulator
SampleJavaManipulator.java
looks for a record property
specified by the
SourceProp
pass through. If it finds that property,
it creates a new property, specified by the
TargetProp
pass through, by copying the value of the
source property into the target. It uses the first arbitrary source value if
multiple source values exist. Next, the code emits all records to the next
component in the pipeline, regardless of whether the property for the record
was transformed.
Related links