org.apache.camel.example.service
Class Reporting

java.lang.Object
  extended by org.apache.camel.example.service.Reporting
All Implemented Interfaces:
Processor

public class Reporting
extends Object
implements Processor


Constructor Summary
Reporting()
           
 
Method Summary
 void process(Exchange exchange)
          Processes the message exchange
 Report updateReport(Report report, String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Reporting

public Reporting()
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
Parameters:
exchange - the message exchange
Throws:
Exception - if an internal processing error has occurred.

updateReport

public Report updateReport(@Body
                           Report report,
                           @Header(value="minaServer")
                           String name)
                    throws Exception
Throws:
Exception


Apache CAMEL