org.apache.camel.processor
Class SendProcessor

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

public class SendProcessor
extends ServiceSupport
implements Processor, Service

Version:
$Revision: 534145 $

Constructor Summary
SendProcessor(Endpoint destination)
           
 
Method Summary
protected  void doStart()
           
protected  void doStop()
           
 Endpoint getDestination()
           
 void process(Exchange exchange)
          Processes the message exchange
 String toString()
           
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
isStarted, isStopped, isStopping, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.camel.Service
start, stop
 

Constructor Detail

SendProcessor

public SendProcessor(Endpoint destination)
Method Detail

doStop

protected void doStop()
               throws Exception
Specified by:
doStop in class ServiceSupport
Throws:
Exception

doStart

protected void doStart()
                throws Exception
Specified by:
doStart in class ServiceSupport
Throws:
Exception

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.

getDestination

public Endpoint getDestination()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007 Apache Software Foundation. All Rights Reserved.