|
||||||||||
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 message. |
static Processor |
removeHeaders(String pattern)
Removes the headers on the message |
static Processor |
removeHeaders(String pattern,
String... exceptionPatterns)
Removes all headers on the 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 message to the value of the expression |
static Processor |
setFaultBody(Expression expression)
Creates a processor which sets the body of the FAULT message (FAULT must be OUT) to the value of the expression |
static Processor |
setFaultHeader(String name,
Expression expression)
Sets the header on the FAULT message (FAULT must be OUT) |
static Processor |
setHeader(String name,
Expression expression)
Sets the header on the message. |
static Processor |
setOutBody(Expression expression)
Deprecated. use setBody(org.apache.camel.Expression) |
static Processor |
setOutHeader(String name,
Expression expression)
Deprecated. use setHeader(String, org.apache.camel.Expression) |
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)
@Deprecated public static Processor setOutBody(Expression expression)
setBody(org.apache.camel.Expression)
public static Processor setFaultBody(Expression expression)
public static Processor setHeader(String name, Expression expression)
@Deprecated public static Processor setOutHeader(String name, Expression expression)
setHeader(String, org.apache.camel.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 |