public class DelegateAsyncProcessor extends AsyncProcessorSupport implements org.apache.camel.DelegateProcessor, org.apache.camel.Navigate<org.apache.camel.Processor>
AsyncProcessor which can be useful for
implementation inheritance when writing an Policy
Important: This implementation does support the asynchronous routing engine. If you are implementing a
EIP pattern please use this as the delegate.DelegateSyncProcessor,
DelegateProcessor| Modifier and Type | Field and Description |
|---|---|
protected org.apache.camel.AsyncProcessor |
processor |
| Constructor and Description |
|---|
DelegateAsyncProcessor() |
DelegateAsyncProcessor(org.apache.camel.AsyncProcessor processor) |
DelegateAsyncProcessor(org.apache.camel.Processor processor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doBuild() |
protected void |
doInit() |
protected void |
doShutdown() |
protected void |
doStart() |
protected void |
doStop() |
org.apache.camel.AsyncProcessor |
getProcessor() |
boolean |
hasNext() |
List<org.apache.camel.Processor> |
next() |
boolean |
process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback) |
void |
setProcessor(org.apache.camel.AsyncProcessor processor) |
void |
setProcessor(org.apache.camel.Processor processor) |
String |
toString() |
process, processAsyncbuild, doFail, doLifecycleChange, doResume, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic DelegateAsyncProcessor()
public DelegateAsyncProcessor(org.apache.camel.AsyncProcessor processor)
public DelegateAsyncProcessor(org.apache.camel.Processor processor)
public org.apache.camel.AsyncProcessor getProcessor()
getProcessor in interface org.apache.camel.DelegateProcessorpublic void setProcessor(org.apache.camel.AsyncProcessor processor)
public void setProcessor(org.apache.camel.Processor processor)
protected void doBuild()
throws Exception
doBuild in class org.apache.camel.support.service.BaseServiceExceptionprotected void doInit()
throws Exception
doInit in class org.apache.camel.support.service.BaseServiceExceptionprotected void doStart()
throws Exception
doStart in class AsyncProcessorSupportExceptionprotected void doStop()
throws Exception
doStop in class AsyncProcessorSupportExceptionprotected void doShutdown()
throws Exception
doShutdown in class org.apache.camel.support.service.BaseServiceExceptionpublic boolean process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback)
process in interface org.apache.camel.AsyncProcessorpublic boolean hasNext()
hasNext in interface org.apache.camel.Navigate<org.apache.camel.Processor>public List<org.apache.camel.Processor> next()
next in interface org.apache.camel.Navigate<org.apache.camel.Processor>Apache Camel