|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.builder.Builder
public final class Builder
A helper class for including portions of the expression and predicate Java DSL
Method Summary | ||
---|---|---|
static
|
body()
Returns a predicate and value builder for the inbound body on an exchange |
|
static
|
bodyAs(Class<T> type)
Returns a predicate and value builder for the inbound message body as a specific type |
|
static
|
constant(Object value)
Returns a constant expression |
|
static
|
faultBody()
Returns a predicate and value builder for the fault body on an exchange |
|
static
|
faultBodyAs(Class<T> type)
Returns a predicate and value builder for the fault message body as a specific type |
|
static
|
header(String name)
Returns a predicate and value builder for headers on an exchange |
|
static
|
outBody()
Returns a predicate and value builder for the outbound body on an exchange |
|
static
|
outBodyAs(Class<T> type)
Returns a predicate and value builder for the outbound message body as a specific type |
|
static ValueBuilder |
property(String name)
Returns a predicate and value builder for properties on an exchange |
|
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
|
systemProperty(String name)
Returns an expression for the given system property |
|
static
|
systemProperty(String name,
String defaultValue)
Returns an expression for the given system property |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static <E extends Exchange> ValueBuilder<E> constant(Object value)
public static <E extends Exchange> ValueBuilder<E> header(String name)
public static <E extends Exchange> ValueBuilder<E> body()
public static <E extends Exchange,T> ValueBuilder<E> bodyAs(Class<T> type)
public static <E extends Exchange> ValueBuilder<E> outBody()
public static <E extends Exchange,T> ValueBuilder<E> outBodyAs(Class<T> type)
public static <E extends Exchange> ValueBuilder<E> faultBody()
public static <E extends Exchange,T> ValueBuilder<E> faultBodyAs(Class<T> type)
public static ValueBuilder property(String name)
public static <E extends Exchange> ValueBuilder<E> systemProperty(String name)
public static <E extends Exchange> ValueBuilder<E> systemProperty(String name, String defaultValue)
public static ValueBuilder regexReplaceAll(Expression content, String regex, String replacement)
public static ValueBuilder regexReplaceAll(Expression content, String regex, Expression replacement)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |