Class SingleInputTypedExpressionDefinition

All Implemented Interfaces:
org.apache.camel.Expression, org.apache.camel.ExpressionFactory, HasExpressionType, org.apache.camel.Predicate, org.apache.camel.PredicateFactory, org.apache.camel.spi.ExpressionFactoryAware, org.apache.camel.spi.PredicateFactoryAware
Direct Known Subclasses:
DatasonnetExpression, Hl7TerserExpression, JqExpression, JsonPathExpression, NamespaceAwareExpression, TokenizerExpression

public abstract class SingleInputTypedExpressionDefinition extends TypedExpressionDefinition
Expression for which a result type can be provided along with the source of the input (body, header or property).
  • Constructor Details

    • SingleInputTypedExpressionDefinition

      protected SingleInputTypedExpressionDefinition()
    • SingleInputTypedExpressionDefinition

      protected SingleInputTypedExpressionDefinition(String expression)
    • SingleInputTypedExpressionDefinition

      protected SingleInputTypedExpressionDefinition(org.apache.camel.Expression expression)
    • SingleInputTypedExpressionDefinition

      protected SingleInputTypedExpressionDefinition(SingleInputTypedExpressionDefinition.AbstractBuilder<?,?> builder)
  • Method Details

    • getSource

      public String getSource()
    • setSource

      public void setSource(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.