Package org.apache.camel.model.language
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexpression
(String expression) The expression value in your chosen language syntaxheaderName
(String headerName) Name of header to use as input, instead of the message bodySets the id of this nodepredicate
(org.apache.camel.Predicate predicate) propertyName
(String propertyName) Name of property to use as input, instead of the message body.Source to use, instead of message body.trim
(boolean trim) Whether to trim the value to remove leading and trailing whitespaces and line breaksWhether to trim the value to remove leading and trailing whitespaces and line breaksvariableName
(String variableName) Name of variable to use as source, instead of the message bodyMethods inherited from class org.apache.camel.model.language.TypedExpressionDefinition.AbstractBuilder
resultType, resultTypeName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.camel.builder.LanguageBuilder
end
-
Constructor Details
-
AbstractBuilder
public AbstractBuilder()
-
-
Method Details
-
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
Name of variable to use as source, instead of the message body -
headerName
Name of header to use as input, instead of the message body -
propertyName
Name of property to use as input, instead of the message body. -
id
Sets the id of this node -
trim
Whether to trim the value to remove leading and trailing whitespaces and line breaks -
trim
Whether to trim the value to remove leading and trailing whitespaces and line breaks -
expression
The expression value in your chosen language syntax -
predicate
-