|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.camel.builder.ProcessorBuilder
public final class ProcessorBuilder
A builder of a number of different Processor
implementations
Method Summary | |
---|---|
static Processor |
removeFaultHeader(String name)
Deprecated. will be removed in the near future. Instead use removeHeader(String) |
static Processor |
removeHeader(String name)
Removes the header on the IN message |
static Processor |
removeHeaders(String pattern)
Removes the headers on the IN message |
static Processor |
removeHeaders(String pattern,
String... exceptionPatterns)
Removes all headers on the IN message, except for the ones provided in the names parameter |
static Processor |
removeProperty(String name)
Removes the property on the exchange |
static Processor |
setBody(Expression expression)
Creates a processor which sets the body of the IN message to the value of the expression |
static Processor |
setFaultBody(Expression expression)
Creates a processor which sets the body of the FAULT message to the value of the expression |
static Processor |
setFaultHeader(String name,
Expression expression)
Sets the header on the FAULT message |
static Processor |
setHeader(String name,
Expression expression)
Sets the header on the IN message |
static Processor |
setOutBody(Expression expression)
Creates a processor which sets the body of the OUT message to the value of the expression |
static Processor |
setOutHeader(String name,
Expression expression)
Sets the header on the OUT message |
static Processor |
setProperty(String name,
Expression expression)
Sets the property on the exchange |
static Processor |
throwException(Exception ex)
Throws an exception |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Processor setBody(Expression expression)
public static Processor setOutBody(Expression expression)
public static Processor setFaultBody(Expression expression)
public static Processor setHeader(String name, Expression expression)
public static Processor setOutHeader(String name, Expression expression)
public static Processor setFaultHeader(String name, Expression expression)
public static Processor setProperty(String name, Expression expression)
public static Processor removeHeader(String name)
public static Processor removeHeaders(String pattern)
public static Processor removeHeaders(String pattern, String... exceptionPatterns)
@Deprecated public static Processor removeFaultHeader(String name)
removeHeader(String)
public static Processor removeProperty(String name)
public static Processor throwException(Exception ex)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |