Modifier and Type | Method and Description |
---|---|
static ValueBuilder |
bean(Class<?> beanType,
String method)
Returns a bean expression
value builder
|
static ValueBuilder |
bean(Object beanOrBeanRef)
Returns a bean expression
value builder.
|
static ValueBuilder |
bean(Object beanOrBeanRef,
String method)
Returns a bean expression
value builder.
|
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 |
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 |
faultBody()
Returns a predicate and value builder for the fault body on an
exchange
|
static <T> ValueBuilder |
faultBodyAs(Class<T> type)
Returns a predicate and value builder for the fault message body as a
specific type
|
static ValueBuilder |
header(String name)
Returns a predicate and value builder for headers on an exchange
|
static ValueBuilder |
language(String language,
String expression)
Returns a constant expression
|
static ValueBuilder |
outBody()
Returns a predicate and value builder for the outbound body on an
exchange
|
static <T> ValueBuilder |
outBodyAs(Class<T> type)
Returns a predicate and value builder for the outbound message body as a
specific type
|
static ValueBuilder |
property(String name)
Deprecated.
use
exchangeProperty(String) instead |
static ValueBuilder |
regexReplaceAll(Expression content,
String regex,
Expression replacement)
Returns an expression that replaces all occurrences of the regular
expression with the given replacement
|
static ValueBuilder |
regexReplaceAll(Expression content,
String regex,
String replacement)
Returns an expression that replaces all occurrences of the regular
expression with the given replacement
|
static ValueBuilder |
sendTo(String uri)
Returns an expression processing the exchange to the given endpoint uri.
|
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
|
public static ValueBuilder bean(Object beanOrBeanRef)
beanOrBeanRef
- either an instanceof a bean or a reference to bean to lookup in the Registrypublic static ValueBuilder bean(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 bean(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 simple(String value)
public static ValueBuilder simple(String value, Class<?> resultType)
public static ValueBuilder header(String name)
@Deprecated public static ValueBuilder property(String name)
exchangeProperty(String)
insteadpublic static ValueBuilder exchangeProperty(String name)
public static ValueBuilder body()
public static <T> ValueBuilder bodyAs(Class<T> type)
public static ValueBuilder outBody()
public static <T> ValueBuilder outBodyAs(Class<T> type)
public static ValueBuilder faultBody()
public static <T> ValueBuilder faultBodyAs(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(Expression content, String regex, String replacement)
public static ValueBuilder regexReplaceAll(Expression content, String regex, Expression replacement)
public static ValueBuilder sendTo(String uri)
uri
- endpoint uriApache Camel