Class InsertField
java.lang.Object
org.apache.camel.component.kafka.transform.InsertField
- All Implemented Interfaces:
org.apache.camel.Processor
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.InsertField
(String field, String value) Constructor using fields. -
Method Summary
-
Constructor Details
-
InsertField
public InsertField()Default constructor. -
InsertField
Constructor using fields.- Parameters:
field
- the field name to insert.value
- the value of the new field.
-
-
Method Details
-
process
public void process(org.apache.camel.Exchange ex) throws org.apache.camel.InvalidPayloadException - Specified by:
process
in interfaceorg.apache.camel.Processor
- Throws:
org.apache.camel.InvalidPayloadException
-
setField
-
setValue
-