public class InterceptSendToEndpointProcessor
extends org.apache.camel.support.DefaultAsyncProducer
Processor used to interceptor and detour the routing
when using the DefaultInterceptSendToEndpoint functionality.| Constructor and Description |
|---|
InterceptSendToEndpointProcessor(DefaultInterceptSendToEndpoint endpoint,
org.apache.camel.Endpoint delegate,
org.apache.camel.AsyncProducer producer,
boolean skip) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Endpoint |
getEndpoint() |
boolean |
isSingleton() |
boolean |
process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback) |
void |
start() |
void |
stop() |
createExchange, doStart, doStop, toStringbuild, doBuild, doInit, doResume, doShutdown, doSuspend, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, suspendpublic InterceptSendToEndpointProcessor(DefaultInterceptSendToEndpoint endpoint, org.apache.camel.Endpoint delegate, org.apache.camel.AsyncProducer producer, boolean skip) throws Exception
Exceptionpublic 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)
public boolean isSingleton()
isSingleton in interface org.apache.camel.IsSingletonisSingleton in class org.apache.camel.support.DefaultProducerpublic void start()
start in interface org.apache.camel.Servicestart in class org.apache.camel.support.service.ServiceSupportpublic void stop()
stop in interface org.apache.camel.Servicestop in class org.apache.camel.support.service.ServiceSupportApache Camel