org.apache.camel.processor
Class ConvertBodyProcessor

java.lang.Object
  extended by org.apache.camel.processor.ConvertBodyProcessor
All Implemented Interfaces:
Processor

public class ConvertBodyProcessor
extends Object
implements Processor

A processor which converts the payload of the input message to be of the given type

Version:
$Revision: 37863 $

Constructor Summary
ConvertBodyProcessor(Class type)
           
 
Method Summary
 void process(Exchange exchange)
          Processes the message exchange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConvertBodyProcessor

public ConvertBodyProcessor(Class type)
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
Throws:
Exception - if an internal processing error has occurred.


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