org.apache.camel.processor
Class UnitOfWorkProcessor

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

public final class UnitOfWorkProcessor
extends DelegateProcessor

Handles calling the UnitOfWork.done() method when processing of an exchange is complete.


Field Summary
 
Fields inherited from class org.apache.camel.processor.DelegateProcessor
processor
 
Constructor Summary
UnitOfWorkProcessor(Processor processor)
           
 
Method Summary
protected  void processNext(Exchange exchange)
           
 String toString()
           
 
Methods inherited from class org.apache.camel.processor.DelegateProcessor
doStart, doStop, getProcessor, hasNext, next, proceed, process, setProcessor
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnitOfWorkProcessor

public UnitOfWorkProcessor(Processor processor)
Method Detail

toString

public String toString()
Overrides:
toString in class DelegateProcessor

processNext

protected void processNext(Exchange exchange)
                    throws Exception
Overrides:
processNext in class DelegateProcessor
Throws:
Exception


Apache CAMEL