Class InsertField

java.lang.Object
org.apache.camel.component.kafka.transform.InsertField
All Implemented Interfaces:
org.apache.camel.Processor

public class InsertField extends Object implements org.apache.camel.Processor
  • Constructor Details

    • InsertField

      public InsertField()
      Default constructor.
    • InsertField

      public InsertField(String field, String value)
      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 interface org.apache.camel.Processor
      Throws:
      org.apache.camel.InvalidPayloadException
    • setField

      public void setField(String field)
    • setValue

      public void setValue(String value)