org.apache.camel.processor
Class RouteContextProcessor

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

public class RouteContextProcessor
extends DelegateAsyncProcessor

This processor tracks the current RouteContext while processing the Exchange. This ensures that the Exchange have details under which route its being currently processed.


Field Summary
 
Fields inherited from class org.apache.camel.processor.DelegateAsyncProcessor
processor
 
Fields inherited from class org.apache.camel.support.ServiceSupport
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
 
Constructor Summary
RouteContextProcessor(RouteContext routeContext, Processor processor)
           
 
Method Summary
protected  boolean processNext(Exchange exchange, AsyncCallback callback)
           
 String toString()
           
 
Methods inherited from class org.apache.camel.processor.DelegateAsyncProcessor
doStart, doStop, getProcessor, hasNext, next, process, process, setProcessor, 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

RouteContextProcessor

public RouteContextProcessor(RouteContext routeContext,
                             Processor processor)
Method Detail

processNext

protected boolean processNext(Exchange exchange,
                              AsyncCallback callback)
Overrides:
processNext in class DelegateAsyncProcessor

toString

public String toString()
Overrides:
toString in class DelegateAsyncProcessor


Apache CAMEL