org.apache.camel.processor
Class TransformProcessor

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.processor.DelegateProcessor
          extended by org.apache.camel.processor.TransformProcessor
All Implemented Interfaces:
Processor, Service

public class TransformProcessor
extends DelegateProcessor
implements Processor

A processor which sets the body on the OUT message with an expression


Field Summary
 
Fields inherited from class org.apache.camel.processor.DelegateProcessor
processor
 
Constructor Summary
TransformProcessor(Expression expression)
           
TransformProcessor(Expression expression, Processor childProcessor)
           
 
Method Summary
 void process(Exchange exchange)
          Processes the message exchange
 String toString()
           
 
Methods inherited from class org.apache.camel.processor.DelegateProcessor
doStart, doStop, getProcessor, proceed, processNext, setProcessor
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, getThreadName, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, nextThreadCounter, removeChildService, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransformProcessor

public TransformProcessor(Expression expression)

TransformProcessor

public TransformProcessor(Expression expression,
                          Processor childProcessor)
Method Detail

process

public void process(Exchange exchange)
             throws Exception
Description copied from interface: Processor
Processes the message exchange

Specified by:
process in interface Processor
Overrides:
process in class DelegateProcessor
Throws:
Exception - if an internal processing error has occurred.

toString

public String toString()
Overrides:
toString in class DelegateProcessor


Copyright © 2010 IONA Open Source Community. All Rights Reserved.