org.apache.camel.processor
Class RouteInflightRepositoryProcessor

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

public class RouteInflightRepositoryProcessor
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
RouteInflightRepositoryProcessor(InflightRepository inflightRepository, Processor processor)
           
 
Method Summary
protected  boolean processNext(Exchange exchange, AsyncCallback callback)
           
 void setRoute(Route route)
           
 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

RouteInflightRepositoryProcessor

public RouteInflightRepositoryProcessor(InflightRepository inflightRepository,
                                        Processor processor)
Method Detail

setRoute

public void setRoute(Route route)

processNext

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

toString

public String toString()
Overrides:
toString in class DelegateAsyncProcessor


Apache CAMEL