org.apache.camel.component.directvm
Class DirectVmProcessor

java.lang.Object
  extended by org.apache.camel.support.ServiceSupport
      extended by org.apache.camel.processor.DelegateProcessor
          extended by org.apache.camel.component.directvm.DirectVmProcessor
All Implemented Interfaces:
DelegateProcessor, Navigate<Processor>, Processor, Service, ShutdownableService, StatefulService, SuspendableService

public final class DirectVmProcessor
extends DelegateProcessor


Field Summary
 
Fields inherited from class org.apache.camel.processor.DelegateProcessor
processor
 
Fields inherited from class org.apache.camel.support.ServiceSupport
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
 
Constructor Summary
DirectVmProcessor(Processor processor, DirectVmEndpoint endpoint)
           
 
Method Summary
protected  Exchange prepareExchange(Exchange exchange)
          Strategy to prepare exchange for being processed by this consumer
 void process(Exchange exchange)
          Processes the message exchange
 String toString()
           
 
Methods inherited from class org.apache.camel.processor.DelegateProcessor
doStart, doStop, getProcessor, hasNext, next, processNext, setProcessor
 
Methods inherited from class org.apache.camel.support.ServiceSupport
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DirectVmProcessor

public DirectVmProcessor(Processor processor,
                         DirectVmEndpoint endpoint)
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
Parameters:
exchange - the message exchange
Throws:
Exception - if an internal processing error has occurred.

prepareExchange

protected Exchange prepareExchange(Exchange exchange)
Strategy to prepare exchange for being processed by this consumer

Parameters:
exchange - the exchange
Returns:
the exchange to process by this consumer.

toString

public String toString()
Overrides:
toString in class DelegateProcessor


Apache CAMEL