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.ExpressionDefinition.AbstractBuilder<T,E>
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,NamespaceAwareExpression.AbstractNamespaceAwareBuilder,TokenizerExpression.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 TypeMethodDescriptionheaderName(String headerName) Name of header to use as input, instead of the message bodypropertyName(String propertyName) Name of property to use as input, instead of the message body.Source to use, instead of message body.variableName(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, resultTypeNameMethods inherited from class org.apache.camel.model.language.ExpressionDefinition.AbstractBuilder
expression, id, predicate, trim, trimMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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.
-