public final class UnitOfWorkProducer
extends org.apache.camel.support.DefaultAsyncProducer
Producer is executed within an UnitOfWork.| Constructor and Description |
|---|
UnitOfWorkProducer(org.apache.camel.Producer producer)
The producer which should be executed within an
UnitOfWork. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
org.apache.camel.Endpoint |
getEndpoint() |
boolean |
isSingleton() |
boolean |
process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback) |
String |
toString() |
build, 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 UnitOfWorkProducer(org.apache.camel.Producer producer)
UnitOfWork.producer - the producerpublic org.apache.camel.Endpoint getEndpoint()
getEndpoint in interface org.apache.camel.EndpointAwaregetEndpoint in class org.apache.camel.support.DefaultProducerpublic boolean process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback)
protected void doStart()
throws Exception
doStart in class org.apache.camel.support.DefaultProducerExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.DefaultProducerExceptionpublic boolean isSingleton()
isSingleton in interface org.apache.camel.IsSingletonisSingleton in class org.apache.camel.support.DefaultProducerpublic String toString()
toString in class org.apache.camel.support.DefaultProducerApache Camel