Class JoorExpression

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

@Metadata(firstVersion="3.7.0", label="language", title="jOOR") public class JoorExpression extends TypedExpressionDefinition
Evaluates a jOOR (Java compiled once at runtime) expression.
  • Constructor Details

    • JoorExpression

      public JoorExpression()
    • JoorExpression

      public JoorExpression(String expression)
  • Method Details

    • getLanguage

      public String getLanguage()
      Overrides:
      getLanguage in class ExpressionDefinition
    • getPreCompile

      public String getPreCompile()
    • setPreCompile

      public void setPreCompile(String preCompile)
      Whether the expression should be pre compiled once during initialization phase. If this is turned off, then the expression is reloaded and compiled on each evaluation.
    • getSingleQuotes

      public String getSingleQuotes()
    • setSingleQuotes

      public void setSingleQuotes(String singleQuotes)
      Whether single quotes can be used as replacement for double quotes. This is convenient when you need to work with strings inside strings.