public abstract class DefaultAsyncProducer extends DefaultProducer implements org.apache.camel.AsyncProducer
Producer for implementation inheritance,
which can process Exchanges asynchronously.| Constructor and Description |
|---|
DefaultAsyncProducer(org.apache.camel.Endpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
void |
process(org.apache.camel.Exchange exchange) |
CompletableFuture<org.apache.camel.Exchange> |
processAsync(org.apache.camel.Exchange exchange) |
createExchange, doStart, doStop, getEndpoint, isSingleton, toStringbuild, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, 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 DefaultAsyncProducer(org.apache.camel.Endpoint endpoint)
public void process(org.apache.camel.Exchange exchange)
throws Exception
process in interface org.apache.camel.ProcessorExceptionpublic CompletableFuture<org.apache.camel.Exchange> processAsync(org.apache.camel.Exchange exchange)
processAsync in interface org.apache.camel.AsyncProcessorApache Camel