Class SingleInputTypedExpressionDefinition.AbstractBuilder<T extends SingleInputTypedExpressionDefinition.AbstractBuilder<T,E>,E extends SingleInputTypedExpressionDefinition>

java.lang.Object
org.apache.camel.model.language.TypedExpressionDefinition.AbstractBuilder<T,E>
org.apache.camel.model.language.SingleInputTypedExpressionDefinition.AbstractBuilder<T,E>
All Implemented Interfaces:
LanguageBuilder<E>
Direct Known Subclasses:
DatasonnetExpression.Builder, Hl7TerserExpression.Builder, JqExpression.Builder, JsonPathExpression.Builder, TokenizerExpression.Builder, XMLTokenizerExpression.Builder, XPathExpression.Builder, XQueryExpression.Builder
Enclosing class:
SingleInputTypedExpressionDefinition

public abstract static class SingleInputTypedExpressionDefinition.AbstractBuilder<T extends SingleInputTypedExpressionDefinition.AbstractBuilder<T,E>,E extends SingleInputTypedExpressionDefinition> extends TypedExpressionDefinition.AbstractBuilder<T,E>
AbstractBuilder is the base builder for typed expression.
  • Constructor Details

    • AbstractBuilder

      public AbstractBuilder()
  • Method Details

    • source

      public T source(String source)
      Source to use, instead of message body. You can prefix with variable:, header:, or property: to specify kind of source. Otherwise, the source is assumed to be a variable. Use empty or null to use default source, which is the message body.
    • variableName

      public T variableName(String variableName)
      Name of variable to use as source, instead of the message body
    • headerName

      public T headerName(String headerName)
      Name of header to use as input, instead of the message body
    • propertyName

      public T propertyName(String propertyName)
      Name of property to use as input, instead of the message body.
    • id

      public T id(String id)
      Sets the id of this node
    • trim

      public T trim(String trim)
      Whether to trim the value to remove leading and trailing whitespaces and line breaks
    • trim

      public T trim(boolean trim)
      Whether to trim the value to remove leading and trailing whitespaces and line breaks
    • expression

      public T expression(String expression)
      The expression value in your chosen language syntax
    • predicate

      public T predicate(org.apache.camel.Predicate predicate)