org.apache.camel.builder
Class ProcessorBuilder

java.lang.Object
  extended by org.apache.camel.builder.ProcessorBuilder

public class ProcessorBuilder
extends Object

A builder of a number of different Processor implementations

Version:
$Revision: 1.1 $

Method Summary
static Processor setBody(Expression expression)
          Creates a processor which sets the body of the IN message to the value of the expression
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 IN 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setBody

public static Processor setBody(Expression expression)
Creates a processor which sets the body of the IN message to the value of the expression


setOutBody

public static Processor setOutBody(Expression expression)
Creates a processor which sets the body of the IN message to the value of the expression


setHeader

public static Processor setHeader(String name,
                                  Expression expression)
Sets the header on the IN message


setOutHeader

public static Processor setOutHeader(String name,
                                     Expression expression)
Sets the header on the OUT message


setProperty

public static Processor setProperty(String name,
                                    Expression expression)
Sets the property on the exchange



Copyright © 2007 Apache Software Foundation. All Rights Reserved.