public final class LazyStartProducer extends DefaultAsyncProducer implements org.apache.camel.DelegateProcessor
Producer which is created and started lazy, on the first message processed.| Constructor and Description |
|---|
LazyStartProducer(org.apache.camel.Endpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doBuild() |
protected void |
doInit() |
protected void |
doResume() |
protected void |
doShutdown() |
protected void |
doStart() |
protected void |
doStop() |
protected void |
doSuspend() |
org.apache.camel.Processor |
getProcessor() |
boolean |
isSingleton()
This implementation will delegate to the endpoint
IsSingleton.isSingleton() |
boolean |
process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback) |
process, processAsynccreateExchange, getEndpoint, toStringbuild, doFail, doLifecycleChange, 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 boolean process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback)
process in interface org.apache.camel.AsyncProcessorpublic boolean isSingleton()
DefaultProducerIsSingleton.isSingleton()isSingleton in interface org.apache.camel.IsSingletonisSingleton in class DefaultProducerprotected 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 DefaultProducerExceptionprotected void doStop()
throws Exception
doStop in class DefaultProducerExceptionprotected void doSuspend()
throws Exception
doSuspend in class org.apache.camel.support.service.BaseServiceExceptionprotected void doResume()
throws Exception
doResume in class org.apache.camel.support.service.BaseServiceExceptionprotected void doShutdown()
throws Exception
doShutdown in class org.apache.camel.support.service.BaseServiceExceptionpublic org.apache.camel.Processor getProcessor()
getProcessor in interface org.apache.camel.DelegateProcessorApache Camel