public final class Builder extends Object
Modifier and Type | Method and Description |
---|---|
static ValueBuilder |
bean(Class<?> beanType,
String method)
Deprecated.
|
static ValueBuilder |
bean(Object beanOrBeanRef)
Deprecated.
use
method(Object) |
static ValueBuilder |
bean(Object beanOrBeanRef,
String method)
Deprecated.
use
method(Class, String) (Object, String)} |
static ValueBuilder |
body()
Returns a predicate and value builder for the inbound body on an exchange
|
static <T> ValueBuilder |
bodyAs(Class<T> type)
Returns a predicate and value builder for the inbound message body as a specific type
|
static ValueBuilder |
constant(Object value)
Returns a constant expression
|
static ValueBuilder |
csimple(String value)
Returns a csimple expression
|
static ValueBuilder |
csimple(String value,
Class<?> resultType)
Returns a csimple expression
|
static ValueBuilder |
exceptionMessage()
Returns a predicate and value builder for the exception message on an exchange
|
static ValueBuilder |
exceptionStackTrace()
Returns a predicate and value builder for the exception stacktrace on an exchange
|
static ValueBuilder |
exchangeProperty(String name)
Returns a predicate and value builder for properties on an exchange
|
static ValueBuilder |
header(String name)
Returns a predicate and value builder for headers on an exchange
|
static ValueBuilder |
joor(String value)
Returns a JOOR expression value builder
|
static ValueBuilder |
joor(String value,
Class<?> resultType)
Returns a JOOR expression value builder
|
static ValueBuilder |
jsonpath(String value)
Returns a JSonPath expression value builder
|
static ValueBuilder |
jsonpath(String value,
Class<?> resultType)
Returns a JSonPath expression value builder
|
static ValueBuilder |
language(String language,
String expression)
Returns a constant expression
|
static ValueBuilder |
method(Class<?> beanType,
String method)
Returns a method call expression value builder
|
static ValueBuilder |
method(Object beanOrBeanRef)
Returns a method call expression value builder.
|
static ValueBuilder |
method(Object beanOrBeanRef,
String method)
Returns a method call expression value builder.
|
static ValueBuilder |
regexReplaceAll(org.apache.camel.Expression content,
String regex,
org.apache.camel.Expression replacement)
Returns an expression that replaces all occurrences of the regular expression with the given replacement
|
static ValueBuilder |
regexReplaceAll(org.apache.camel.Expression content,
String regex,
String replacement)
Returns an expression that replaces all occurrences of the regular expression with the given replacement
|
static ValueBuilder |
simple(String value)
Returns a simple expression
|
static ValueBuilder |
simple(String value,
Class<?> resultType)
Returns a simple expression
|
static ValueBuilder |
systemProperty(String name)
Returns an expression for the given system property
|
static ValueBuilder |
systemProperty(String name,
String defaultValue)
Returns an expression for the given system property
|
@Deprecated public static ValueBuilder bean(Object beanOrBeanRef)
method(Object)
beanOrBeanRef
- either an instanceof a bean or a reference to bean to lookup in the Registry@Deprecated public static ValueBuilder bean(Object beanOrBeanRef, String method)
method(Class, String)
(Object, String)}beanOrBeanRef
- either an instanceof a bean or a reference to bean to lookup in the Registrymethod
- the method name@Deprecated public static ValueBuilder bean(Class<?> beanType, String method)
method(Class, String)
beanType
- the bean class which will be invokedmethod
- name of method to invokepublic static ValueBuilder method(Object beanOrBeanRef)
beanOrBeanRef
- either an instanceof a bean or a reference to bean to lookup in the Registrypublic static ValueBuilder method(Object beanOrBeanRef, String method)
beanOrBeanRef
- either an instanceof a bean or a reference to bean to lookup in the Registrymethod
- the method namepublic static ValueBuilder method(Class<?> beanType, String method)
beanType
- the bean class which will be invokedmethod
- name of method to invokepublic static ValueBuilder constant(Object value)
public static ValueBuilder language(String language, String expression)
public static ValueBuilder csimple(String value)
public static ValueBuilder csimple(String value, Class<?> resultType)
public static ValueBuilder simple(String value)
public static ValueBuilder simple(String value, Class<?> resultType)
public static ValueBuilder joor(String value)
public static ValueBuilder joor(String value, Class<?> resultType)
public static ValueBuilder jsonpath(String value)
public static ValueBuilder jsonpath(String value, Class<?> resultType)
value
- The JSonPath expressionresultType
- The result type that the JSonPath expression will return.public static ValueBuilder header(String name)
public static ValueBuilder exchangeProperty(String name)
public static ValueBuilder body()
public static <T> ValueBuilder bodyAs(Class<T> type)
public static ValueBuilder systemProperty(String name)
public static ValueBuilder systemProperty(String name, String defaultValue)
public static ValueBuilder exceptionMessage()
public static ValueBuilder exceptionStackTrace()
public static ValueBuilder regexReplaceAll(org.apache.camel.Expression content, String regex, String replacement)
public static ValueBuilder regexReplaceAll(org.apache.camel.Expression content, String regex, org.apache.camel.Expression replacement)
Apache Camel